File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,15 @@ find_package(Qt6 ${QT_MIN_VER} CONFIG COMPONENTS Widgets Concurrent Multimedia M
66if (WIN32 )
77 target_link_libraries (3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
88else ()
9- find_package (Qt6 ${QT_MIN_VER} COMPONENTS DBus Gui)
9+ set (QT_NO_PRIVATE_MODULE_WARNING ON )
10+ find_package (Qt6 ${QT_MIN_VER} COMPONENTS DBus Gui GuiPrivate)
1011 if (Qt6DBus_FOUND)
1112 target_link_libraries (3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::DBus Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
1213 target_compile_definitions (3rdparty_qt6 INTERFACE -DHAVE_QTDBUS)
1314 else ()
1415 target_link_libraries (3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
1516 endif ()
16- target_include_directories (3rdparty_qt6 INTERFACE ${Qt6Gui_PRIVATE_INCLUDE_DIRS} )
17+ target_link_libraries (3rdparty_qt6 INTERFACE Qt6::GuiPrivate )
1718endif ()
1819
1920if (Qt6Widgets_FOUND)
You can’t perform that action at this time.
0 commit comments