[Debian-med-packaging] Bug#874845: Is there any sensible way to know what qt5 devel packages might be needed as build-depends
Christian Seiler
christian at iwakd.de
Tue Sep 26 16:50:48 UTC 2017
Hi Andreas,
Am 2017-09-26 17:41, schrieb Andreas Tille:
> I try to port clonalframe[1] to Qt5 and I somehow wild-guessed what
> Build-Depends might be needed. Anyway I got
>
> qmake: could not find a Qt installation of ''
>
> I've got this totally unhelpful message in another package - what
> is a sensible approach to find the needed packages?
Since the project is using qmake as it's build system, you could
try:
find . -name "*.pro" -o -name "*.pri" -print0 | \
xargs -0 grep -A 3 -E "QT.*="
to find all the lines of the type
QT += core gui widgets
and the such. Then you could go through those and see if there is
a "libqt5XXX5-dev" package (replace XXX with the module) available.
Some things are in qtbase5-dev directly (such as the 3 examples I
have above) though.
It could also be that some modules of Qt aren't packaged yet at
all. For example - and I may be mistaken about that - I don't
believe there's a libqt5datavisualization5-dev for that module in
Debian yet.
Regards,
Christian
More information about the Debian-med-packaging
mailing list