Results 1 to 3 of 3

Thread: Failure when building QT on Windows with MinGW

  1. #1
    Join Date
    Aug 2007
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Unhappy Failure when building QT on Windows with MinGW

    Hello,

    I've downloaded the QT open-source for windows.
    Also downloaded the last MinGW installation - verified all modules are up-to -date with QT compiler support notes.
    Followed the instructions for building QT statically:
    In the command prompt wrote:
    Qt Code:
    1. cd C:\<Path to QT>
    2. configure -static -platform win32-g++
    3. mingw32-make sub-src
    To copy to clipboard, switch view to plain text mode 

    This cause the following error:
    :
    :
    ./tmp\obj\release_static\deps.o:deps.cpp.text+0x1cf8): more undefined referenc
    es to `QString::free(QString:ata*)' follow
    collect2: ld returned 1 exit status
    mingw32-make[2]: *** [..\..\..\bin\uic3.exe] Error 1
    mingw32-make[2]: Leaving directory `C:/Qt/qt-win-opensource-src-4.3.1/src/tools/
    uic3'
    mingw32-make[1]: *** [release] Error 2
    mingw32-make[1]: Leaving directory `C:/Qt/qt-win-opensource-src-4.3.1/src/tools/
    uic3'
    mingw32-make: *** [sub-uic3-make_default-ordered] Error 2[/CODE]

    What have I been doing wrong?

    Thanks in advance,

    Sharon

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Failure when building QT on Windows with MinGW

    I'd suggest using the version of MinGW that is bundled in (or actually downloaded by) the binary installer of Qt. It's guaranteed to work nicely along with Qt.
    J-P Nurmi

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Failure when building QT on Windows with MinGW

    yes you are right. when downloading the mingw during the installation of QT opensource,the installation application maybe zombie,but it still downloads the Mingw completely ,and you can find that setup files at download archive,then you must cancel the QT installation,and install MingW which locates at c:\qt4.4.2\download.After you install MingW,you can install the QT library without downloading MingW.
    It's my tip.Hope this tip can help you.

Similar Threads

  1. using libcurl in QT with Mingw in Windows
    By ct in forum Qt Programming
    Replies: 18
    Last Post: 23rd January 2012, 02:41
  2. Mingw very slow on windows
    By elsheikhmh in forum Installation and Deployment
    Replies: 7
    Last Post: 30th May 2007, 18:19
  3. How do I use MinGW Compiler in Windows
    By Walsi in forum General Discussion
    Replies: 3
    Last Post: 11th May 2007, 09:50
  4. QT 4.2.2 Windows Mingw
    By KaptainKarl in forum Installation and Deployment
    Replies: 3
    Last Post: 4th May 2007, 15:57
  5. qt and mingw can not run on windows 98?
    By evewei in forum Installation and Deployment
    Replies: 4
    Last Post: 26th June 2006, 10:22

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.