We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd5002 commit 893af51Copy full SHA for 893af51
src/CMakeLists.txt
@@ -92,7 +92,7 @@ target_link_libraries(${library_name} PUBLIC Qt${QT_VERSION_MAJOR}::Core
92
Qt${QT_VERSION_MAJOR}::Gui
93
Qt${QT_VERSION_MAJOR}::Widgets)
94
95
-if(QT_VERSION_MAJOR STREQUAL "6")
+if(UNIX AND NOT APPLE AND QT_VERSION_MAJOR STREQUAL "6")
96
target_link_libraries(${library_name} PRIVATE Qt6::GuiPrivate) #needed for <qpa/qplatformnativeinterface.h>
97
endif()
98
0 commit comments