|
2010-06-29
, 14:13
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#2
|
I'm trying to use Qt Mobility in my app and I have the following line in my Debian control file:
But I get this error in the N900 when trying to install the deb file:Code:Build-Depends: debhelper (>= 5), libqt4-dev, libqtm-dev, libqt4-network
Am I missing something or am I doing something wrong?
Cheers
apt-get update
apt-get install libqtm-systeminfo
The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2010-06-29
, 14:42
|
Posts: 434 |
Thanked: 325 times |
Joined on Sep 2009
|
#3
|
BTW, What you quoted are the build-dependencies, which are packages, which have to be installed in order to build not to run the application.
Daniel
|
2010-06-29
, 14:52
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#4
|
So if I want to build a Debian package that anyone could install, what should I include to get the Qt Mobility working?
Cheers
Depends: libqtm-systeminfo
Depends: ${shlibs:Depends}, ${misc:Depends},
The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2010-06-29
, 15:00
|
Posts: 434 |
Thanked: 325 times |
Joined on Sep 2009
|
#5
|
Check the control file in your debian package, but it should be correct, as dpkg complains. But dpkg, doesn't grab the dependencies, you have to install them manually.
If you have your application in a repository, like extras-devel for instance, it installs the dependencies automatically using apt. But in general you would need something like
in your control file. But the more common way is, to let the debian helper do that for you. Usually the line looks like this in the debian folder next to your source code:Code:Depends: libqtm-systeminfo
DanielCode:Depends: ${shlibs:Depends}, ${misc:Depends},
${misc:Depends}
|
2010-06-29
, 15:25
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#6
|
I had those two, but still it would complain about the missing libqtm-systeminfo when I tried to install it by clicking the .deb file.
apt-get -f install
The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2011-08-07
, 22:25
|
Posts: 60 |
Thanked: 33 times |
Joined on Apr 2010
|
#7
|
Cheers