Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Unable to change Toolchain in QtCreator
QtWS25 Last Chance

Unable to change Toolchain in QtCreator

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 3 Posters 10.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Davita
    wrote on last edited by
    #1

    Hello guys. I have one more question. I'm developing an application with MinGW and QtCreator. I need to target both x86 and x64 windows platforms. So I downloaded a 64 bit MinGW compiler and tried to configure QtCreator to use 64 bit compiler without any results. Please note that I'm not using any Qt library in my project, just plain old C++. I created a new Build Configuration in Qt but I was unable to change Tool chain to target the newly downloaded 64 bit MinGW (I clicked Manage, added a new Tool chain in the list with appropriate path and hit ok, the tool chain didn't change for my project). So anyone knows how can I map my project to the correct tool chain?

    P.S. I'm using qmake.

    thanks.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on last edited by
      #2

      In the "Projects" tab you can select the Toolchain to use for each build configuration. If you want to use qmake without Qt Creator, you might have to create a new mkspec.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Davita
        wrote on last edited by
        #3

        Thansk again loladiro, but I can't change toolchain. looks like it is directly linked to Qt library. probably i should recompile qt on the target platform in order to change the toolchain. :(

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Hmmm... that is a interesting use-case!

          The qmake is tied to a Qt version and that one implements a (set of) ABI. In the project mode you can then select all tool chains that can produce code for (one of) the ABI the Qt version supports. So you will need a Qt version that actually supports the ABI you want to use.

          I wonder how we can cover your use-case... maybe allow all tool chains if QtCore/QtGui is removed from the configuration?

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Davita
            wrote on last edited by
            #5

            Hi Tobias, thanks for your interest. It would be great if you could remove that limitation. QtCreator is a wonderful IDE, I have VS 2010 Ultimate on my machine, but for C++ development, nothing comes close to QtCreator, so maybe if you allow us to develop some modules (which doesn't require Qt) to use any toolchain (without tying to Qt library) would be wonderful.

            Thanks again and sorry for my english :-)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              I created https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5643 to make sure I do not forget about this:-)

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Davita
                wrote on last edited by
                #7

                Thanks Tobias :)
                I wish I could contribute, unfortunatelly I'm very noob in C++ :(.
                Anyway great work and keep it up guys ;)

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved