diff --git a/.github/workflows/linux-builds.yml b/.github/workflows/linux-builds.yml index c102eb0..9c0ef5c 100644 --- a/.github/workflows/linux-builds.yml +++ b/.github/workflows/linux-builds.yml @@ -16,7 +16,7 @@ jobs: run: | sudo apt-get update --fix-missing sudo apt-get install qt5-default - sudo apt-get install qtbase5-private-dev + sudo apt-get install qtbase5-private-dev qtdeclarative5-dev - name: qmake run: qmake - name: make diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 6e30a95..f40bfc9 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5) project(ads_demo VERSION ${VERSION_SHORT}) find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) -find_package(Qt${QT_VERSION_MAJOR} 5.5 COMPONENTS Core Gui Widgets REQUIRED) +find_package(Qt${QT_VERSION_MAJOR} 5.5 COMPONENTS Core Gui Widgets Quick QuickWidgets REQUIRED) if(WIN32 AND QT_VERSION_MAJOR LESS 6) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS AxContainer REQUIRED) endif() @@ -21,7 +21,9 @@ add_executable(AdvancedDockingSystemDemo WIN32 ${ads_demo_SRCS}) target_include_directories(AdvancedDockingSystemDemo PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../src") target_link_libraries(AdvancedDockingSystemDemo PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Gui - Qt${QT_VERSION_MAJOR}::Widgets) + Qt${QT_VERSION_MAJOR}::Widgets + Qt${QT_VERSION_MAJOR}::Quick + Qt${QT_VERSION_MAJOR}::QuickWidgets) if(WIN32 AND QT_VERSION_MAJOR LESS 6) target_link_libraries(AdvancedDockingSystemDemo PUBLIC Qt${QT_VERSION_MAJOR}::AxContainer) endif()