Try to fix compile with cmake .. -G Ninja -DQT_VERSION_MAJOR=6 -DBUILD_WITH_KF5=OFF -DPACKAGE_TESTS=OFF

This commit is contained in:
Laurent Trinques
2026-07-17 10:25:30 +02:00
parent 118a62adb2
commit 424a1c945e
2 changed files with 30 additions and 11 deletions
+5 -1
View File
@@ -24,7 +24,11 @@ set(QET_COMPONENTS
Sql
Network
Widgets
Concurrent)
Concurrent
GuiPrivate) # Qt6 CMake config only creates the Qt::GuiPrivate target when
# "GuiPrivate" is explicitly requested as a component (unlike
# Qt5, which created it implicitly via Gui/PrintSupport/Widgets).
# Required for QPdfEngine::drawHyperlink (PDF internal links).
set(QET_PRIVATE_LIBRARIES
Qt::PrintSupport