From 4c8f0b4df6c1f9423219b85ff982c8cae74aa746 Mon Sep 17 00:00:00 2001 From: AdenKoperczak Date: Tue, 13 May 2025 18:34:50 -0400 Subject: [PATCH] Add wayland files --- .github/workflows/ci.yml | 2 ++ scwx-qt/scwx-qt.cmake | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 986a5b65..992bb42e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -205,6 +205,8 @@ jobs: cd plugins/ mkdir -p sqldrivers/ cp "${RUNNER_WORKSPACE}/Qt/${{ matrix.qt_version }}/${{ matrix.qt_arch_dir }}/plugins/sqldrivers/libqsqlite.so" sqldrivers/ + mkdir -p platforms/ + cp ${RUNNER_WORKSPACE}/Qt/${{ matrix.qt_version }}/${{ matrix.qt_arch_dir }}/plugins/platforms/libqwayland* platforms/ cd .. popd tar -czf supercell-wx-${{ matrix.artifact_suffix }}.tar.gz supercell-wx/ diff --git a/scwx-qt/scwx-qt.cmake b/scwx-qt/scwx-qt.cmake index 1628607a..028ee0aa 100644 --- a/scwx-qt/scwx-qt.cmake +++ b/scwx-qt/scwx-qt.cmake @@ -34,6 +34,7 @@ find_package(QT NAMES Qt6 Svg Widgets Sql + WaylandClient REQUIRED) find_package(Qt${QT_VERSION_MAJOR} @@ -48,6 +49,7 @@ find_package(Qt${QT_VERSION_MAJOR} Svg Widgets Sql + WaylandClient REQUIRED) set(SRC_EXE_MAIN source/scwx/qt/main/main.cpp) @@ -696,6 +698,7 @@ target_link_libraries(scwx-qt PUBLIC Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Positioning Qt${QT_VERSION_MAJOR}::SerialPort Qt${QT_VERSION_MAJOR}::Svg + Qt${QT_VERSION_MAJOR}::WaylandClient Boost::json Boost::timer Boost::atomic