Results 1 to 8 of 8

Thread: How to pack my QT application

  1. #1
    Join Date
    Sep 2007
    Posts
    36
    Thanks
    5
    Thanked 3 Times in 1 Post

    Default How to pack my QT application

    I have been trying to create a debin/ubuntu .deb for my small application reading all the tutorial on the net but it seems that the deb created from the standard qt pro/make file is not working.

    Is there any guide or tutorial for the same ?

  2. #2
    Join Date
    Jul 2007
    Location
    Bangalore, India
    Posts
    13
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to pack my QT application

    U can try with Bitrock installer http://bitrock.com/, It gives u a executable file to install ur application

  3. The following user says thank you to vasanth for this useful post:

    pshah.mumbai (4th April 2009)

  4. #3
    Join Date
    Sep 2007
    Posts
    36
    Thanks
    5
    Thanked 3 Times in 1 Post

    Default Re: How to pack my QT application

    Nice ! Fast and easy !

    Thanks

  5. #4
    Join Date
    Sep 2007
    Posts
    36
    Thanks
    5
    Thanked 3 Times in 1 Post

    Default Re: How to pack my QT application

    Is there any guide on creating .deb files from scratch for qt project files ?

    I am able to create the .deb file but it turns out to be empty. I think that problem is that the the binary is not getting added to the deb file. Maybe the .pro file or Makefile generated by qmake-qt4 does not work properly with dh_make/debuild

    Here is how I create the software.

    1. qmake-qt4 -project
    2. qmake-qt4 ./proj1.pro
    3. make

    To pack the software I follow the guidelines


    1. dh_make -e <my email>
    2. delete the unwated files in ./debian directory.
    3. changed the "control" file. did not change the default "rules" file.
    4. debuild

    The above mentioned software will not work for me, since I need to host the code on Ubuntu PPA. Also it is not free software.

    (I need to upload it to Ubuntu PPA)

  6. #5
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to pack my QT application

    The important part is the debian/rules file. It describes how the source is build, where it is installed to, and, in turn, what is included in the package. So, in most cases, you have to edit the rules file. This can be quite complicated, but luckily Debian provides an easier way to package applications: cdbs. Maybe this can help you packaging your application. You can create all the files necessary for cdbs by running dh_make with the -b parameter.

  7. #6
    Join Date
    Sep 2007
    Posts
    36
    Thanks
    5
    Thanked 3 Times in 1 Post

    Default Re: How to pack my QT application

    Thanks I tried using CDBS but I am still facing the same problem. The binary is not included in the deb package. The size of deb file is around 1.8K only, while my application is around 19 mb.

  8. #7
    Join Date
    Apr 2009
    Posts
    61
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: How to pack my QT application

    Hi

    I have been trying QT applications under mac os..

    Already i have done one simple application ...

    I would like to install that application in my friend system......

    I don't know ,How do solve this problem


    please help me

    Thanks

  9. #8
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to pack my QT application

    Hi pshah.mumbai,
    have you found a solution to the problem? because I have the same issue with my application.

    Very thanks
    Giuseppe CalÃ

Similar Threads

  1. How to detect a running application
    By yogesh in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2009, 10:22
  2. Qt Application + Web Integration -- Help needed
    By swamyonline in forum Qt Programming
    Replies: 0
    Last Post: 17th February 2009, 11:59
  3. Tool for web application?
    By cool_qt in forum General Programming
    Replies: 3
    Last Post: 9th December 2008, 09:21
  4. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.