Results 1 to 2 of 2

Thread: creating source tarballs [linux]

  1. #1
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default creating source tarballs [linux]

    Hi,

    I plan to publish an Qt application. However, I don't really know which possibilities there are to create the source tarball, which one is the easiest, which one is the best etc. The app should basically be installed into some bin directory (/usr/bin or whatsoever) and create a menu entry, if possible.
    Most applications can be build by executing ./configure && make && make install. As I've been looking for some applications in kde-apps.org, I saw that a lot of developers use cmake instead. What's the difference? Can cmake do the whole job (creating an executable in /usr/bin, creating menu-entries...)?
    I usually use eclipse when I build applications. It uses qmake and make. afaik, these two tools cannot create menu entries etc., so would do I need there additionally? In case I use a configure-script, could I somehow use the make-script created by qmake, or do I have to create a whole new one?
    I know it's the most comfortable for any user to have a package belonging to his distribution, but I want to publish the tarball in addition and I want it to be installed as best as possible, i.e., with menu entries and an executable somewhere in $PATH

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: creating source tarballs [linux]

    also with qmake you can move your executable to a "bin" directory. That's not the problem. For normal I would provide the sources as a simple tar.gz (or bz2) archive. And you can make some binary installation files too. With rpm and deb you will reach the main linux distributions.

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

    default user (6th July 2010)

Similar Threads

  1. Newbie Question: Use same source for S60, Windows Mobile and Embedded Linux
    By extreme001 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th January 2010, 21:53
  2. Replies: 13
    Last Post: 10th June 2009, 01:56
  3. Creating a docked App Bar for Linux.
    By peddler38 in forum Qt Programming
    Replies: 1
    Last Post: 18th August 2008, 20:04
  4. Replies: 11
    Last Post: 24th March 2006, 06:40

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.