Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.7.1 32bit No suitable compiler.
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7.1 32bit No suitable compiler.

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.3k Views 2 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.
  • J Offline
    J Offline
    jonsean
    wrote on last edited by
    #1

    I'm totally new to Qt. I've just installed it. Under my Qt versions it say, "no suitable compiler can produce code for this Qt version. Please define one or more compilers."

    I have MinGW and Qt even auto detected it. (It works just fine with NetBeans and Code Blocks). Other forums suggested the only fix is to use the MinGW offered during the Qt installation. This was NOT an option.

    I have tried installing different versions of MinGW and Qt 64 5.7 and 32 5.6. No change. I even tried installing MinGW inside of Qt Tools folder... I'm grasping at straws. Any ideas?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jonsean
      wrote on last edited by
      #2

      If anyone else has this problem, here is the only solution I could find.
      MinGW doesn't work.

      Download Microsoft Visual Studios 2015.
      (by default mcvs does NOT come with a compiler)

      After it is installed, go to your edit programs (how you would normally uninstall a program) and double click "Microsoft Visual Studio Community 2015 with updates" and click "modify".

      Then check the Visual c++ (I also checked "Python tools" but it will probably work without that.) and click "update". It took about four hours to update but then Qt automatically found the mcvs c++ compiler and it works just fine.

      1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        Using Qt 5.7.1 for Windows 32-bit (MinGW 5.3.0, 1.1 GB) normally always works.
        http://download.qt.io/official_releases/qt/5.7/5.7.1/qt-opensource-windows-x86-mingw530-5.7.1.exe

        You cannot just use a random mingw you have installed as Qt is DLLs and on windows, there really must be a strict
        match between the compiler used to build the Qt and compiler used for the App.

        So it sounds like you just did it wrong and you wanted to use another compiler than MinGW 5.3.0
        but and did not recompile Qt to use that one instead of the bundled version.

        So MinGW works fine as long as you follow the rules :)

        • Other forums suggested the only fix is to use the MinGW offered during the Qt installation. This was NOT an option.

        Its not a fix, it is how it works.
        Just like you CANNOT use Qt vs2013 with VS 2015,
        you cannot just have some random mingw installed and expect it to work :)

        1 Reply Last reply
        2

        • Login

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