Results 1 to 3 of 3

Thread: Deploying application on Linux machine without Qt

  1. #1
    Join Date
    Jul 2007
    Posts
    56
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Deploying application on Linux machine without Qt

    I need to send my Qt 4.3.5 application to someone who is running Suse Enterprise 10. When they try and run my application they get "Error while loading shared libraries: libQtGui.so.4". So it looks like Qt4 is not installed on that machine.

    I'm not quite sure of the best to distribute the libraries given that I'm using a different distribution of Suse (Open Suse 10.3 vs Suse Enterprise 10).

    Should I:

    a) Send them the Qt library files from my machine? (will they work on another Linux version?)

    b) Have them download compile Qt open source on their machine?

    c) Statically link my application with the Qt libraries?

    d) Are there typically pre-built libraries for Qt that can be installed from the source CD-ROM?

    e) Something else?

    Thanks

  2. #2
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Thumbs up Re: Deploying application on Linux machine without Qt

    For this you have to build your exe statically.........After that you can run your application on non Qt system.........
    Here is a link which help you to build statically Qt .....
    http://www.rag.com.au/linux/qt4howto.html;)
    I hope this will help you.........

  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: Deploying application on Linux machine without Qt

    I would suggest taking a closer look at LSB - Linux Standard Base. If you build your application (and Qt itself) in a LSB-compliant way or have an LSB-compliant installation of Qt, it will work on any LSB-compliant installation. This plus the fact that most modern distros are or can be LSB compliant should ease your life a bit.

Similar Threads

  1. Deploying App on Linux
    By janus in forum Installation and Deployment
    Replies: 5
    Last Post: 6th May 2008, 21:18
  2. How to create package for a Qt4 application in linux..?
    By archanasubodh in forum Installation and Deployment
    Replies: 24
    Last Post: 6th March 2008, 12:20
  3. Deploying debug Qt application - failed to load ODBC driver
    By sureshbabu in forum Installation and Deployment
    Replies: 1
    Last Post: 1st November 2007, 12:35
  4. Deploying Qt 4.2 Application on Mac 10.3.5?
    By vishal.chauhan in forum Installation and Deployment
    Replies: 0
    Last Post: 11th May 2007, 11:33
  5. Replies: 2
    Last Post: 12th January 2007, 11:19

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.