[Debian-med-packaging] Bug#874851: Is there any chance to easily find out Qt5 Build-Depends (Was: Bug#874851: [clustalx] Future Qt4 removal from Buster)

Andreas Tille andreas at an3as.eu
Mon Sep 11 07:45:19 UTC 2017


Hi,

I tried to port clustalx[1] to Qt5 by the following patch:

diff --git a/debian/control b/debian/control
index 569d145..efee27b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,9 @@ Uploaders: Steffen Moeller <moeller at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               libqt4-dev
+               qtbase5-dev,
+               qtbase5-dev-tools,
+               qttools5-dev-tools
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/clustalx.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/clustalx.git
diff --git a/debian/rules b/debian/rules
index e52b82f..75d1955 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
        dh $@
 
 override_dh_auto_configure:
-       qmake-qt4
+       qmake
        # did not found a better way to push hardening flags into Makefile
        sed -i -e "s:CFLAGS *= .*:& $(CFLAGS):" \
               -e "s:CXXFLAGS *= .*:& $(CXXFLAGS):" \

Unfortunately this ends up in:

  qmake: could not find a Qt installation of ''

and I admit this pretty useless error message seems to be a usual
pattern.  I wonder whether there is any better chance to find out
what Build-Depends is missing.

Kind regards

      Andreas.

[1] https://anonscm.debian.org/git/debian-med/clustalx.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list