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. The compiler cannot produce code for the Qt version 5.11.2
QtWS25 Last Chance

The compiler cannot produce code for the Qt version 5.11.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 5.5k 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.
  • A Offline
    A Offline
    Arshia
    wrote on last edited by
    #1

    Hi , I have Qt 5.11.2 installed at C:\Qt

    Wanted to use it with its compiler at C:\Qt\Tools\mingw530_32

    But I get this error :

    0_1542961208619_f482aa28-8440-4af2-b580-0b518fe6b05d-image.png

    So it seems the compiler got incompatibility with the Qt itself. How is that even possible ?

    You can't solve your current problems with your current thinking. Your current problems are the result of your current thinking.
    Albert Einstein

    kshegunovK 1 Reply Last reply
    0
    • A Arshia

      Hi , I have Qt 5.11.2 installed at C:\Qt

      Wanted to use it with its compiler at C:\Qt\Tools\mingw530_32

      But I get this error :

      0_1542961208619_f482aa28-8440-4af2-b580-0b518fe6b05d-image.png

      So it seems the compiler got incompatibility with the Qt itself. How is that even possible ?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      @Arshia said in The compiler cannot produce code for the Qt version 5.11.2:

      How is that even possible ?

      Qt was compiled with msvc, you're trying to compile with mingw. The two compilers are not compatible, so you need to choose one of them and stick with it all the way.

      Read and abide by the Qt Code of Conduct

      A 1 Reply Last reply
      5
      • kshegunovK kshegunov

        @Arshia said in The compiler cannot produce code for the Qt version 5.11.2:

        How is that even possible ?

        Qt was compiled with msvc, you're trying to compile with mingw. The two compilers are not compatible, so you need to choose one of them and stick with it all the way.

        A Offline
        A Offline
        Arshia
        wrote on last edited by
        #3

        @kshegunov So my choice is MinGW. What should I do now ?

        You can't solve your current problems with your current thinking. Your current problems are the result of your current thinking.
        Albert Einstein

        J.HilkJ 1 Reply Last reply
        0
        • A Arshia

          @kshegunov So my choice is MinGW. What should I do now ?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by J.Hilk
          #4

          @Arshia
          you have 2 options.

          1. download Qt source code and compile it with the mingw compiler
          2. use the online installer and download the corret precompiled libary

          this one
          0_1542966795610_a67dfa82-fcf1-4c3e-bc3d-aa2618cdba29-image.png


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          5
          • A Offline
            A Offline
            Arshia
            wrote on last edited by
            #5

            I checked all these while installing. So are these just cant come along ?

            You can't solve your current problems with your current thinking. Your current problems are the result of your current thinking.
            Albert Einstein

            kshegunovK 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by SGaist
              #6

              Hi,

              Use the MinGW32 version of Qt you installed.

              As explained before, Visual Studio and MinGW can't be mixed and matched.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • A Arshia

                I checked all these while installing. So are these just cant come along ?

                kshegunovK Offline
                kshegunovK Offline
                kshegunov
                Moderators
                wrote on last edited by kshegunov
                #7

                @Arshia said in The compiler cannot produce code for the Qt version 5.11.2:

                I checked all these while installing.

                Then have a look here and here.

                Read and abide by the Qt Code of Conduct

                1 Reply Last reply
                1

                • Login

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