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. Changing the tool chain from Microsoft's compiler to MinGW
Forum Updated to NodeBB v4.3 + New Features

Changing the tool chain from Microsoft's compiler to MinGW

Scheduled Pinned Locked Moved Qt Creator and other tools
8 Posts 4 Posters 6.4k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    scarleton
    wrote on last edited by
    #1

    Back in the beginning of the year I started working on my first QML application and then stepped away from it after about two months. I am now returning to it...

    Originally I lived with the fact that I developed/debug the C++ side in Visual Studio 2008 and simply write the QML in Qt Creator. Now that I am returning to it, I would like to try to do everything in in Qt Creator.

    In the build settings of the project, when I click on the Tool Chain's <Manage> button, there are a few MinGW options, one of them being "MinGW runtime (Provided with Qt Creator)", but selecting it and pressing either <OK> or <Apply> seems to have no effect.

    What do I need to do to change the tool chain from microsoft ot mingw?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chuck Gao
      wrote on last edited by
      #2

      Do you just use the MinGW toolchain or, using Qt(build with MinGW) ?

      Chuck

      1 Reply Last reply
      0
      • S Offline
        S Offline
        scarleton
        wrote on last edited by
        #3

        I have not installed MinGW independently of Qt. I am assuming it was installed with Qt Creator. Is this not the case?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chuck Gao
          wrote on last edited by
          #4

          [quote author="scarleton" date="1306892721"]I have not installed MinGW independently of Qt. I am assuming it was installed with Qt Creator. Is this not the case?[/quote]

          Sorry, i can't catch you. Hum, do you mean you just had your Qt Creator installed ? And you didn't install any Qt version ?

          And how about your code ? It's pure C++ or Qt C++ ? It's determine what kind of tool chain you should use.:)

          Chuck

          1 Reply Last reply
          0
          • S Offline
            S Offline
            scarleton
            wrote on last edited by
            #5

            Ok, more cylinders are starting to fire now...

            I installed qt-win-opensource-4.7.3-vs2008.exe and have compiled it with vs2008. I guess I need to install the MinGW version and compile it with MinGW, correct?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Chuck Gao
              wrote on last edited by
              #6

              Yes. After you install the MinGW version, you can select it :)

              Chuck

              1 Reply Last reply
              0
              • G Offline
                G Offline
                giesbert
                wrote on last edited by
                #7

                I suggest using the Qt SDK online installer.
                then you can select, which version to install and also get other parts (new, other compilers) later easily...

                Nokia Certified Qt Specialist.
                Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sigrid
                  wrote on last edited by
                  #8

                  The following "FAQ":http://developer.qt.nokia.com/faq/answer/how_can_i_set_up_my_environment_for_building_qt_qt_applications_with_mingw describes where you can get MinGW and how to build Qt with it.

                  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