Results 1 to 2 of 2

Thread: gentoo qt4 static linking

  1. #1
    Join Date
    Apr 2008
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default gentoo qt4 static linking

    Hello,

    I'm trying to build my application by static linking.
    They say in the documentation:
    To use this approach, you must start by installing a static version of the Qt library.

    But i cant seem to find the /path/to/Qt where ./configure ... works.
    I have the following directories: /usr/include/qt4/qt, /usr/share/qt4 and /usr/lib/qt4/.

    thanks

  2. #2
    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: gentoo qt4 static linking

    You need to download sources of Qt or install a respective source package. In gentoo you can probably automatically emerge a static build by passing some option to the system's build system.

Similar Threads

  1. static & dynamic linking
    By mickey in forum General Programming
    Replies: 6
    Last Post: 11th June 2010, 09:57
  2. Replies: 16
    Last Post: 23rd May 2008, 11:12
  3. Replies: 2
    Last Post: 4th December 2007, 01:34
  4. static linking issue
    By ashwini in forum Qt Programming
    Replies: 2
    Last Post: 29th May 2006, 13:40
  5. Replies: 4
    Last Post: 20th February 2006, 10: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.