[qt_common] fix building with Qt 6.10 #2713
			No reviewers
			
		
		
		
	
	
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	android
		
			audio
		
			bug
		
			ci
		
			cmake
		
			confirmed
		
			core
		
			desktop
		
			duplicate
		
			enhancement
		
			frontend
		
			fw
		
			git
		
			graphics
		
			loader
		
			nv gpu
		
			ui
		
			vulkan
		
		
	
		No milestone
		
			
		
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		2 participants
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
	
	
		
	
	
		
			Reference
		
	
	
		
	
	
			eden-emu/eden!2713
			
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "marcin-serwin/eden:push-kkvsovqulotm"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Qt old style include variables are deprecated in Qt, see https://github.com/qt/qtbase/blob/v6.10.0/cmake/QtModuleConfig.cmake.in#L84, and Qt 6.10 stopped exporting them after https://github.com/qt/qtbase/commit/ad7b94e163ac5c3959a7e38d7f48536be288a187.
Signed-off-by: Marcin Serwin marcin@serwin.dev
qt_common: fix building with Qt 6.10to [qt_common] fix building with Qt 6.10It's probably better to do what the yuzu target does and only link to GuiPrivate if it exists, OR set the include dirs if they don't exist (helps with LTS distros on e.g. qt 6.4)
Also, while you're at it you can remove the GuiPrivate linkage from yuzu target entirely, qt_common only uses it in one file
Makes sense. Your commit builds for me so LGTM.