×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    How to build maemo deb package from Qt SDK in linux?

    I need some help. I know similar questions have be asked but I've read through and they didn't work for me, or I didn't understand them.

    When I build an application using Qt SDK on a linux machine it creates a clone directory with a debian folder and *.deb file. However I can't use this file to install my application on the maemo device it can only be used with MADDE on the device.

    Is there a way to modify my project setting such that the *.deb file generated from the Qt SDK build process can be distributed as an installation deb file

    Most of the links posted for this kind of question requires that I have Maemo SDK on Scratchbox installed alongside the Qt SDK, is that the case?

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to build maemo deb package from Qt SDK in linux?

    Quote Originally Posted by anistein View Post
    However I can't use this file to install my application on the maemo device it can only be used with MADDE on the device.
    You definitely can use it as you want. It's not possible to install MADDE on the device. Probably you are talking about mad-developer.

  3. #3
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to build maemo deb package from Qt SDK in linux?

    I am facing the same problem. I am using the nokia Qt SDK on windows. while generating a .deb file for the maemo device, I am able to runmy Qt app with the Mad Developer.

    My question is how to install this .deb file on my device so that it can run without Mad Developer. I had already tried to install the package using dpkg -i command but not succeded.
    Jajal Mehul

  4. #4
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi,
    I finally managed to get such a writeupo done:
    http://tamss60.tamoggemon.com/2010/0...the-smart-way/

    It is not complete yet...but shows the way you have to go!
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  5. #5
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi,
    as the s**t spam filter does not allow me to post a link with further instructions here, please send me an email to tamhan at tamoggemon dot com and I will send you more instructions which I have on my blog.
    Last edited by bogdan.galiceanu; 2010-08-16 at 15:56. Reason: Language
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  6. #6
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to build maemo deb package from Qt SDK in linux?

    Quote Originally Posted by tamhanna View Post
    Hi,
    I finally managed to get such a writeupo done:
    http://tamss60.tamoggemon.com/2010/0...the-smart-way/

    It is not complete yet...but shows the way you have to go!
    Hi Tam

    This is really usefull link. As I am new for the maemo dev. I have one question regarding the step 4 of the link.

    Where should I create the .desktop file?

    Is it in the folder usr/share/application/hildon/appname.desktop or else where?

    Thanks in advance..
    Jajal Mehul

  7. #7
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to build maemo deb package from Qt SDK in linux?

    We have the same stuff in Forum Nokia Wiki and in maemo.org wiki.
    http://wiki.maemo.org/Packaging_a_Qt_application
    http://wiki.forum.nokia.com/index.ph...mple-0.0.1.zip
    So basically installation of Debian package on N900 is as simple as these two commands:
    Code:
    sudo gainroot
    dpkg -i packagename.deb

  8. #8
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi,

    Actually I am able to install my deb file using dpkg command but not sure it is installed or not because I am not able to see my application in the app manager of N900.
    When I am using it with the Qt creator than my app run in the device but It is shown in the App manager.
    I am using nokia Qt SDK with windows vista SP1.
    Any help?
    Jajal Mehul

  9. #9
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to build maemo deb package from Qt SDK in linux?

    When you use dpkg it always produces a meaningful output, which tells if package was installed successfully or not and what was the problem in the latter case.
    You can check if a package is installed with a command
    Code:
    dpkg -l package_name
    in the output the package should be preceeded by "ii".

  10. #10
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi james1980,
    you can use "dpkg -L package-name" from the n900 terminal to check if your package has been installed correctly.
    That command will print out the list of installed files. If you cannot see anything then the packages has not been installed at all.
    It should show files even if the package has been partially installed. This could happens in case your package has some problem with the postinstall script.

  11. #11
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi Gnuton,

    When i use a dpkg -L command it give me that package is not installed. That means something is wrong with my package file? I am using the .deb file created by the Nokia Qt SDK and following all the step given by tamhanna in his post in this thread.

    Here is the link that i am following.
    http://tamss60.tamoggemon.com/2010/0...the-smart-way/

    Any suggestion?

    In S60 device every thing is working perfectly and also in N900 if the device is connect to PC application runs from creator.
    Jajal Mehul

  12. #12
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi james,
    I guess you installed the package with:
    dpkg -i package.deb

    Do you have any error message?
    Anyway I've to correct my previous post.. if the package is not installed dpkg -L package name prints out this message " Package `package-name' is not installed.".. Do you have this message or what?

  13. #13
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to build maemo deb package from Qt SDK in linux?

    Quote Originally Posted by gnuton View Post
    Do you have any error message?
    Anyway I've to correct my previous post.. if the package is not installed dpkg -L package name prints out this message " Package `package-name' is not installed.".. Do you have this message or what?
    Yes I am getting the above message that my package is not installed. And i had installed using the command dpkg -i command although it is not giving me any error message at that time.
    Jajal Mehul

  14. #14
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to build maemo deb package from Qt SDK in linux?

    Very strange for me... dpkg "screams" if it fail to install something...

  15. #15
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: How to build maemo deb package from Qt SDK in linux?

    Hi,

    Is there any problem with .deb file or I am following the wrong method?


    IScreenshot-20100818-160838.png
    Jajal Mehul

Similar Threads

  1. Replies: 3
    Last Post: 2010-07-27, 07:41
  2. [Maemo][QT Creator] Can it run remote application without deb installation?
    By benlaud in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2010-07-08, 09:16
  3. Qt Creator deb package
    By atonical in forum Nokia N9
    Replies: 16
    Last Post: 2010-07-05, 10:03
  4. Replies: 1
    Last Post: 2010-05-13, 07:46
  5. Qt for Maemo and Qt for embedde Linux
    By Estel in forum Nokia N9
    Replies: 2
    Last Post: 2010-03-21, 21:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •