From 5b96543d692d960b3de5f7d55cc1f375b867650b Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 2 May 2025 08:20:02 -0500 Subject: [PATCH] Update Debian packages to use Qt6 --- debian/control | 6 +++--- debian/rules | 10 +++++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 68b9038d5..7f0335fab 100644 --- a/debian/control +++ b/debian/control @@ -6,9 +6,9 @@ Standards-Version: 3.9.2 Build-Depends: debhelper (>= 9), pkg-config, - qtbase5-dev, - qtbase5-dev-tools, - qttools5-dev-tools, + qt6-base-dev, + qt6-base-dev-tools, + qt6-tools-dev-tools, qt5-qmake, libusb-1.0-0-dev, libhidapi-dev, diff --git a/debian/rules b/debian/rules index 5ff9e1e10..1ef22307d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,13 @@ #!/usr/bin/make -f -export QT_SELECT := qt5 +export QT_SELECT := qt6 %: dh $@ --parallel + +override_dh_auto_configure: + ln -s /usr/bin/qmake6 ./qmake + PATH=`pwd`:$(PATH) dh_auto_configure + +override_dh_auto_clean: + $(RM) qmake + dh_auto_clean