Results 1 to 6 of 6

Thread: Can commercial qt be used with mingw g++ in MS windows

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

    Default Can commercial qt be used with mingw g++ in MS windows

    Hi, I would like to know if the commercial qt be used with mingw compiler on windows? I would like to know if anybody has done this.
    Sunil

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Can commercial qt be used with mingw g++ in MS windows

    But why don't you use the Open Source version, in this case?(unless you plan to develop a commercial app)
    If you plan to use mingw, then VS integration will be useless, as well as the other commercial "pluses", which are there just to support development under VS or the intel compiler.

    Other than that, there should be no problems in compiling Qt or Qt applications with the commercial version.

    Regards

  3. #3
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Can commercial qt be used with mingw g++ in MS windows

    I just tried it on Qt4.2.2 commercial source, using MinGW 3.2. (configure -platform win32-g++, mingw32-make). It actually compiles (but took a really long time, at least 2 hrs on my 3ghz pc)! Even the ActiveX stuff is compiled(libQAxContainer.a, etc). But I haven't tried to link anything yet. The libraries are a bit bigger compared to the ones generated by Microsoft's compiler. (QtGui4.dll is 7.8mb under mingw ... vs. 5.5mb for VC++)
    Software Engineer



  4. #4
    Join Date
    Jul 2007
    Location
    California, USA
    Posts
    62
    Thanks
    17
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Can commercial qt be used with mingw g++ in MS windows

    You should be able to do it.

    I started to do it. I compiled the Commercial QT sources mingw g++ and got that up and running. I then compiled my code but realized that I needed to link with libraries created in Visual C++ so it ended there. The two do not mix which is too bad because I wanted to debug in eclipse and qt and can only do that if I compile with mingw g++.

  5. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Can commercial qt be used with mingw g++ in MS windows

    You can compile open source Qt with mingw and msvc - and I don't see a reason why it should not be possible with the comemercial version either.

  6. #6
    Join Date
    Jan 2006
    Location
    Edmonton, Canada
    Posts
    101
    Thanks
    13
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Can commercial qt be used with mingw g++ in MS windows

    A few months ago we successfully compiled Qt Commercial with MinGW. As was previously mentioned, there are issues linking to libraries that were compiled with MSVC, but other than that we only had a few minor problems.

Similar Threads

  1. using libcurl in QT with Mingw in Windows
    By ct in forum Qt Programming
    Replies: 18
    Last Post: 23rd January 2012, 01:41
  2. Mingw very slow on windows
    By elsheikhmh in forum Installation and Deployment
    Replies: 7
    Last Post: 30th May 2007, 17:19
  3. How do I use MinGW Compiler in Windows
    By Walsi in forum General Discussion
    Replies: 3
    Last Post: 11th May 2007, 08:50
  4. QT 4.2.2 Windows Mingw
    By KaptainKarl in forum Installation and Deployment
    Replies: 3
    Last Post: 4th May 2007, 14: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, 09: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.