Answer the question
In order to leave comments, you need to log in
How to build a .deb package with qt libraries as dependencies?
I have been trying to build a package for my program for a long time. It uses the following Qt modules: core
, network
, webkitwidgets
and xml
.
At first I tried to register all possible Qt packages, and then like this:
Depends: libqt5core5a, libqt5gui5, libqt5webkit5, libqt5widgets5, libqt5network5, libqt5xml5
opt/Qt/
, that is, where I have installed qtcreator
. Answer the question
In order to leave comments, you need to log in
I prescribe
Depends: libqt5core5a, libqt5gui5, libqt5widgets5
and everything works.
There are no paths in the executable file, only the names of the libraries where they are searched depends on the system itself where it is launched. If qt is set to opt, then they will be taken from there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question