Results 1 to 7 of 7

Thread: building Qt creator with another Qt version

  1. #1
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default building Qt creator with another Qt version

    Hi,
    My QtCreator has been build with this Qt version:Qt 5.4.2 (MSVC 2013, 32 bit). I need to rebuild it with another version like "mingw492_32". I have two question:
    1- How can i rebuild QtCreator with "mingw492_32"? (it's qmake.exe is added to Qt Version but from where i can find QtCreator.pro for rebuilding)
    2- Also I am interesting to know from where can i find the qmake.exe related with "MSVC 2013, 32 bit"?

    thanks for any helping

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: building Qt creator with another Qt version

    Any specific reason you want to rebuild QtCreator?
    For some plugin you are developing?

    Cheers,
    _

  3. #3
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: building Qt creator with another Qt version

    Quote Originally Posted by anda_skoa View Post
    Any specific reason you want to rebuild QtCreator?
    For some plugin you are developing?

    Cheers,
    _
    I want to load a plugin of a library into the creator. I build and install this library with "mingw492_32" but the creator has been build with "MSVC 2013, 32 bit". So the plugin can not be linked to the the Qt version. I have 2 questions for solving this problem:
    1- How can i rebuild QtCreator with "mingw492_32"?
    2- From where can i find the qmake.exe related with "MSVC 2013, 32 bit" for rebuilding that library with this one?

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: building Qt creator with another Qt version

    Why not just install the prebuilt mingw version of Qt? Its Qt Creater is almost certainly built with mingw, so just use that one instead.

  5. #5
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: building Qt creator with another Qt version

    Quote Originally Posted by d_stranz View Post
    Why not just install the prebuilt mingw version of Qt? Its Qt Creater is almost certainly built with mingw, so just use that one instead.
    I installed mingw version of Qt. it is strange that creator is built with "MSVC 2013, 32 bit".

  6. #6
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: building Qt creator with another Qt version

    Yes, it is strange. It means you can't extend Qt Creator with a plugin you make with the version of Qt in the same install. That doesn't make much sense to me.

  7. #7
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: building Qt creator with another Qt version

    The Qt Creator binary distribution must be independent of the various Qt library bundles that you might (or might not) choose to install at the same time. It achieves this independence by bundling a Qt runtime of its own. A 32-bit library is used to support both 32- and 64-bit operating systems. MSVC is the most common compiler in the Windows environment, and the bundlers chose to use the 2013 version for building Qt Creator and the libraries bundled with the binary. To build Qt Creator plugins to match this binary distribution you need to match that version of Qt libraries. Alternatively, rebuild Qt Creator from source.

    The qmake built with MSVC 2013 32-bit will be found in a set of Qt libraries built with that compiler. A prebuilt library can be downloaded through the Qt Online Installer or from http://www.qt.io/download-open-source/. Fot Qt 5.4.2 you need the visit the archives section. You will, of course, need to source the MSVC 2013 compiler tools yourself.

    Qt Creator source is available from the same place as the binary bundles if you wish to go down that route.

  8. The following 2 users say thank you to ChrisW67 for this useful post:

    Alex22 (10th January 2016), d_stranz (10th January 2016)

Similar Threads

  1. Replies: 0
    Last Post: 8th August 2012, 21:00
  2. Replies: 3
    Last Post: 29th August 2011, 14:05
  3. Replies: 1
    Last Post: 18th August 2010, 08:15
  4. Problem building stripped down version of Qt 4.6.2
    By blukske in forum Installation and Deployment
    Replies: 1
    Last Post: 19th May 2010, 13:34
  5. Building debug version under VS2008
    By KenW in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd May 2008, 19:09

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.