Results 1 to 4 of 4

Thread: How to release my project

  1. #1
    Join Date
    Jul 2010
    Posts
    30
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to release my project

    Hi..

    As simple as the title.I want to know How to release my project?
    To produce exe file that is executable on any linux machine.
    Last edited by Malek; 29th August 2010 at 22:52.

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: How to release my project

    Mostly, Qt applications are dynamically linked. So you have to ship the Qt libraries your application requires along with it, and make some provision for directing your application to their location.

    Under Linux, I usually write a small wrapper script that sets LD_LIBRARY_PATH to point to the location of the dynamic libraries. Or, you can dump everything into a single directory and hope that there won't be any conflicts between the libraries you ship and whatever may already be installed on your client's system.

    Determining which libraries to include can be tricky. Running 'ldd' on the executable will show a list of all runtime dependencies, but a lot of these will be system libraries that are expected to be available on any Linux system, so shipping them is pointless. Anything with a 'Q' in it's name is probably a good candidate for inclusion.

    Testing is required. Try to find a system that doesn't have Qt installed, and see if your application will run on it. Or remove all traces of Qt from your own system before testing, then reinstall it when satisfied.

    This sort of problem arises frequently enough that the need for a utility to to manage it automatically is a gap crying out to be filled.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to release my project

    Quote Originally Posted by Malek View Post
    Hi..

    As simple as the title.I want to know How to release my project?
    To produce exe file that is executable on any linux machine.
    Read about LSB (Linux Standard Base). Qt supports LSB-compliant compilation and most modern Linux distros are also LSB compliant.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Jul 2010
    Posts
    30
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to release my project

    thanks for your replies,

    SixDegrees can you give me a tutorial on writing such a script, I'd really appreciate it..

Similar Threads

  1. Project file LIBS debug/release
    By bunjee in forum Qt Programming
    Replies: 5
    Last Post: 27th July 2015, 05:42
  2. Replies: 1
    Last Post: 18th August 2010, 08:15
  3. Replies: 1
    Last Post: 15th August 2010, 12:12
  4. Replies: 3
    Last Post: 15th February 2010, 17:27
  5. Replies: 1
    Last Post: 3rd December 2009, 23:34

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.