Results 1 to 4 of 4

Thread: Qt 4.6.0 static

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question Qt 4.6.0 static

    Hi, i have been trying to compile Qt 4.6.0 static but it everytime failed. I did it on new instalation Windows XP SP2 on vmware.

    I was compiling it with mingw which is in QtCreator 1.3.0 instalation (i think gcc-core-4.4.0). I added -static to QMAKE_LFLAGS (in mkspecs\win32-g++\qmake.conf).

    My configuration:
    configure -static -release -nomake examples -nomake demos -platform win32-g++

    then:
    mingw32-make

    After few hours i got this: http://img188.imageshack.us/img188/7858/31057149.jpg

    Thanks, vdolek

  2. #2
    Join Date
    Oct 2009
    Posts
    25
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.0 static

    Disable Phonon support at configuration.
    (Phonon on Windows not supported by mingw without special patches)

  3. #3
    Join Date
    Sep 2009
    Location
    Tashkent, Uzbekistan
    Posts
    107
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 4.6.0 static

    Or build it with Visual C++ toolchain. Better for MS then MinGW.
    -- Tanuki

    per cauda vel vaculus cauda

  4. #4
    Join Date
    Oct 2009
    Posts
    25
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.0 static

    And use Windows SDK and DirectX SDK.

Similar Threads

  1. Replies: 11
    Last Post: 13th July 2009, 17:05
  2. Replies: 22
    Last Post: 8th October 2008, 14:54
  3. new problem with simple C++ static variables
    By landonmkelsey in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 06:42
  4. Replies: 16
    Last Post: 23rd May 2008, 11:12
  5. Accessing to a static variable from the same class
    By xgoan in forum General Programming
    Replies: 6
    Last Post: 5th March 2007, 11:50

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.