Results 1 to 2 of 2

Thread: problem on static linking in Linux.

  1. #1
    Join Date
    Apr 2009
    Posts
    58
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default problem on static linking in Linux.

    hi All,
    I want static linking my application on linux(fedora 9).I installed qt 4.5 open source for linux.
    then to statically link it, i ran ./configure -static ,then make and make -install.all commands ran succesfully.this installed qt static version in /usr/local/Trolltech/Qt 4.5.1
    Then i set the PATH to /usr/local/Trolltech/Qt 4.5.1/bin.
    After this when i compile my qt application using qmake-project,qmake & make,it succesfuly compiled but when i run the binary formed,it doesn't run.
    plz tell where i made a mistake??
    what to do now??
    thnx

  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: problem on static linking in Linux.

    if you start your app on console, is there any output? Used CONFIG += static in your pro file?

Similar Threads

  1. Static linking
    By didcea in forum Qt Programming
    Replies: 0
    Last Post: 11th October 2008, 18:40
  2. Static Linking Application for Realease
    By impeteperry in forum Qt Programming
    Replies: 2
    Last Post: 14th November 2007, 18:12
  3. Replies: 2
    Last Post: 1st August 2007, 15:04
  4. Problem with libmng on static link
    By jlbrd in forum Installation and Deployment
    Replies: 2
    Last Post: 10th May 2006, 22:38
  5. Replies: 4
    Last Post: 20th February 2006, 09:11

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.