Results 1 to 4 of 4

Thread: Thoughts on building Qt and QtCreator on Windows using MinGW

  1. #1
    Join Date
    Feb 2009
    Posts
    33
    Thanks
    6
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Thoughts on building Qt and QtCreator on Windows using MinGW

    I've been playing around with various methods of building Qt and QtCreator on Windows using MinGW but I'm not really satisfied with the results, yet.

    My main issue is with the way configure.exe sets up qmake to prefix $(INSTALL_ROOT) with the drive letter, and suffix it with the build directory. I've tried setting the -prefix flag to various directories like "\.", "/.", ".", "/", and "\" when running configure.exe, and it achieves the desired result in the makefiles, but the builds end up failing.

    Does anybody have any advice on configuring Qt builds so that I can install them to any directory using "mingw32-make install"?

    Cheers,
    ~ andy.f

  2. #2
    Join Date
    Feb 2009
    Posts
    33
    Thanks
    6
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Thoughts on building Qt and QtCreator on Windows using MinGW

    I figured out a workaround. I set INSTALL_ROOT before calling mingw32-make, then I copy the directory created to any directory I choose, then I re-run configure.exe with the -dont-process flag in the directory I chose (making sure the other configure.exe flags are the same as when I built Qt).

    This gives me a fully functional installed version of Qt for development with the extra bonus of having all the Qt headers point back to the original source directory.

    Re-running configure.exe in the installed/copied directory is the best way to go imho.

    Cheers,
    ~ andy.f

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Thoughts on building Qt and QtCreator on Windows using MinGW

    hey Andy.
    I'm trying to compile QTcreator with mingw,
    when finish, if I run my Qtcreator ia have the next msg:
    'there is not
    found entry point to procedure _Z17qt_message_output9QtMsgTypePKc at
    QTCore4.dll'
    Must I to recompile also QT with mingw?
    I would be grateful if you tell us how you has get it
    Thanks

  4. #4
    Join Date
    Feb 2009
    Posts
    33
    Thanks
    6
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Thoughts on building Qt and QtCreator on Windows using MinGW

    There are many things that can go wrong when compiling QtCreator (especially on Windows), so I'm not sure exactly what issues you're having. My best guess is it sounds like the QtCore4.dll QtCreator is trying to use at runtime is not compatible with the QtCore4 library being used at link-time, but I'm not sure. Maybe there is an older version of QtCore4.dll on your PATH?

    Cheers,
    ~ andy.f

Similar Threads

  1. Compile Qtcreator with mingw ?
    By tonnot in forum Installation and Deployment
    Replies: 13
    Last Post: 3rd November 2010, 23:00
  2. Replies: 15
    Last Post: 24th October 2010, 16:29
  3. Building VTK with QTCreator
    By floyd.pepper in forum Newbie
    Replies: 1
    Last Post: 17th August 2009, 09:42
  4. using GLUT along with qtcreator/mingw in windows
    By stephanepoirier in forum Qt Programming
    Replies: 1
    Last Post: 3rd March 2009, 06:26
  5. Failure when building QT on Windows with MinGW
    By sharon in forum Installation and Deployment
    Replies: 2
    Last Post: 23rd August 2007, 14:38

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.