Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Qt Mobility missing libqtm-systeminfo

    Reply
    Sasler | # 1 | 2010-06-29, 07:34 | Report

    I'm trying to use Qt Mobility in my app and I have the following line in my Debian control file:


    Code:
    Build-Depends: debhelper (>= 5), libqt4-dev, libqtm-dev, libqt4-network
    But I get this error in the N900 when trying to install the deb file:

    Originally Posted by
    Application package missing: libqtm-systeminfo
    Am I missing something or am I doing something wrong?

    Cheers

    Edit | Forward | Quote | Quick Reply | Thanks

     
    danielwilms | # 2 | 2010-06-29, 14:13 | Report

    Originally Posted by Sasler View Post
    I'm trying to use Qt Mobility in my app and I have the following line in my Debian control file:


    Code:
    Build-Depends: debhelper (>= 5), libqt4-dev, libqtm-dev, libqt4-network
    But I get this error in the N900 when trying to install the deb file:



    Am I missing something or am I doing something wrong?

    Cheers

    If you just install the deb-file with dpkg, it does not grab and install all the dependencies. It just gives an error. What you could do is installing the packages from the repository. Become root on the device, run:

    Code:
    apt-get update
    and then

    Code:
    apt-get install libqtm-systeminfo

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to danielwilms For This Useful Post:
    Sasler

     
    Sasler | # 3 | 2010-06-29, 14:42 | Report

    Originally Posted by danielwilms View Post
    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
    So if I want to build a Debian package that anyone could install, what should I include to get the Qt Mobility working?

    Cheers

    Edit | Forward | Quote | Quick Reply | Thanks

     
    danielwilms | # 4 | 2010-06-29, 14:52 | Report

    Originally Posted by Sasler View Post
    So if I want to build a Debian package that anyone could install, what should I include to get the Qt Mobility working?

    Cheers
    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

    Code:
    Depends: libqtm-systeminfo
    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: ${shlibs:Depends}, ${misc:Depends},
    Daniel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to danielwilms For This Useful Post:
    Sasler

     
    Sasler | # 5 | 2010-06-29, 15:00 | Report

    Originally Posted by danielwilms View Post
    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.
    Just to make sure. If I click a .deb file from a web page with my N900, does it uses dpkg? I know that it opens the App Manager.


    Originally Posted by danielwilms View Post
    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

    Code:
    Depends: libqtm-systeminfo
    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: ${shlibs:Depends}, ${misc:Depends},
    Daniel
    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.

    Also MADDE seems to complain about
    Code:
    ${misc:Depends}
    . I can't remember what is said. Something about unknown variable. I tried to remove it, but it didn't seem to make any difference.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    danielwilms | # 6 | 2010-06-29, 15:25 | Report

    Originally Posted by Sasler View Post
    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.
    As said, dpkg does not install missing deps automatically. you can run after it failed:

    Code:
    apt-get -f install
    in the terminal, which should take care of the missing dependencies.

    Daniel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to danielwilms For This Useful Post:
    Sasler

     
    raedbenz | # 7 | 2011-08-07, 22:25 | Report

    http://www.developer.nokia.com/Commu...up_Qt_Mobility

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout