Results 1 to 2 of 2

Thread: Rebuild Qt 4.5.1 Static

  1. #1
    Join Date
    May 2009
    Qt products
    MacOS X Unix/X11 Windows

    Default Rebuild Qt 4.5.1 Static

    I have been successful rebuild Qt4.5.1 Linux x86 static from SDK 2009.02.

    But I am a little bit confused ...
    There are some libraries and programs in plugins directory,
    so there is some commands to build especialy with that???

    I used:

    Copy the /opt/qtsdk-2009.02/qt to /opt/qtsdk-2009.02/qt-static
    Enter in /opt/qtsdk-2009.02/qt-static
    ./configure -static
    make sub-src
    make install

    It install in /usr/local/Trolltech even with prefix set to other point so
    I moved it again.

    Has this version (that I compiled) the same functionality of the dynamic
    version that I got in the SDK 2009.02?


  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: Rebuild Qt 4.5.1 Static

    Static Qt version doesn't use plugins. You have to specifically link them to your application or directly embed them into Qt libraries. Read about "static plugins" in the docs.
    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.

Similar Threads

  1. Qt 4.5.1 Compile error on Windows XP [SOLVED]
    By Teuniz in forum Installation and Deployment
    Replies: 0
    Last Post: 27th April 2009, 09:18
  2. Replies: 22
    Last Post: 8th October 2008, 13:54
  3. new problem with simple C++ static variables
    By landonmkelsey in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 05:42
  4. Replies: 16
    Last Post: 23rd May 2008, 10:12
  5. Accessing to a static variable from the same class
    By xgoan in forum General Programming
    Replies: 6
    Last Post: 5th March 2007, 10:50

Tags for this Thread


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.