diff --git a/debian/changelog b/debian/changelog index 2f72956..68f727e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ lubuntu-default-settings (24.10.1) UNRELEASED; urgency=medium * Switch back to qpdfview from okular. + * Port snap-installation-monitor to Qt 6. -- Simon Quigley Wed, 03 Jul 2024 09:50:54 -0500 diff --git a/debian/control b/debian/control index e80d87f..9c0d101 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: x11 Priority: optional Maintainer: Lubuntu Developers Uploaders: Simon Quigley -Build-Depends: cmake, debhelper-compat (= 13), intltool, qtbase5-dev +Build-Depends: cmake, debhelper-compat (= 13), intltool, qt6-base-dev Standards-Version: 4.6.2 Homepage: https://lubuntu.me Vcs-Browser: https://git.launchpad.net/lubuntu-default-settings?h=master diff --git a/snap-installation-monitor/CMakeLists.txt b/snap-installation-monitor/CMakeLists.txt index 6e2d14e..ada5725 100644 --- a/snap-installation-monitor/CMakeLists.txt +++ b/snap-installation-monitor/CMakeLists.txt @@ -3,7 +3,10 @@ project(snap-installation-monitor) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) -find_package(Qt5 COMPONENTS Widgets DBus REQUIRED) +find_package(Qt6 COMPONENTS Widgets DBus REQUIRED) + +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) add_executable(snap-installation-monitor main.cpp) -target_link_libraries(snap-installation-monitor Qt5::Widgets Qt5::DBus) +target_link_libraries(snap-installation-monitor Qt6::Widgets Qt6::DBus)