[qt_common] fix building with Qt 6.10 #2713

Merged
crueter merged 2 commits from marcin-serwin/eden:push-kkvsovqulotm into master 2025-10-10 22:33:16 +02:00
Member

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 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.10
All checks were successful
eden-license / license-header (pull_request) Successful in 28s
c6d4785711
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
<ad7b94e163>.

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
marcin-serwin changed title from qt_common: fix building with Qt 6.10 to [qt_common] fix building with Qt 6.10 2025-10-10 22:13:16 +02:00
Owner

It'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

It'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
awesome
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
13c1ff6d48
Signed-off-by: crueter <crueter@eden-emu.dev>
Author
Member

Makes sense. Your commit builds for me so LGTM.

Makes sense. Your commit builds for me so LGTM.
crueter merged commit 8a017951aa into master 2025-10-10 22:33:16 +02:00
crueter deleted branch push-kkvsovqulotm 2025-10-10 22:33:16 +02:00
Sign in to join this conversation.
No description provided.