File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1616 run : |
1717 sudo apt-get update --fix-missing
1818 sudo apt-get install qt5-default
19- sudo apt-get install qtbase5-private-dev
19+ sudo apt-get install qtbase5-private-dev qtdeclarative5-dev
2020 - name : qmake
2121 run : qmake
2222 - name : make
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5)
22project (ads_demo VERSION ${VERSION_SHORT} )
33
44find_package (QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
5- find_package (Qt${QT_VERSION_MAJOR} 5.5 COMPONENTS Core Gui Widgets REQUIRED)
5+ find_package (Qt${QT_VERSION_MAJOR} 5.5 COMPONENTS Core Gui Widgets Quick QuickWidgets REQUIRED)
66if (WIN32 AND QT_VERSION_MAJOR LESS 6)
77 find_package (Qt${QT_VERSION_MAJOR} COMPONENTS AxContainer REQUIRED)
88endif ()
@@ -21,7 +21,9 @@ add_executable(AdvancedDockingSystemDemo WIN32 ${ads_demo_SRCS})
2121target_include_directories (AdvancedDockingSystemDemo PRIVATE "${CMAKE_CURRENT_SOURCE_DIR} /../src" )
2222target_link_libraries (AdvancedDockingSystemDemo PUBLIC Qt${QT_VERSION_MAJOR} ::Core
2323 Qt${QT_VERSION_MAJOR} ::Gui
24- Qt${QT_VERSION_MAJOR} ::Widgets)
24+ Qt${QT_VERSION_MAJOR} ::Widgets
25+ Qt${QT_VERSION_MAJOR} ::Quick
26+ Qt${QT_VERSION_MAJOR} ::QuickWidgets)
2527if (WIN32 AND QT_VERSION_MAJOR LESS 6)
2628 target_link_libraries (AdvancedDockingSystemDemo PUBLIC Qt${QT_VERSION_MAJOR} ::AxContainer)
2729endif ()
You can’t perform that action at this time.
0 commit comments