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. Incompatible compilers
Forum Updated to NodeBB v4.3 + New Features

Incompatible compilers

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 2 Posters 895 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.
  • V Offline
    V Offline
    viniltc
    wrote on last edited by
    #1

    Hi,

    I am trying to build a 32-bit application. I have configured the kit Qt 5.12.0 MSVC2017 32bit.

    C++ compiler : Microsoft Visual C++ Compiler 14.0(x86)

    However there is a warning which says The compiler "Microsoft Visual C++ Compiler 14.0(x86)" (x86-windows-msvc2015-pe-32bit) may not produce code compatible with Qt Version "Qt 5.12.0 MSVC2017 32bit" (x86-windows-msvc2017-pe-32bit) "

    Interestingly, I cant't see Qt 5.12.0 MSVC2015 32bit in my list of kits available, and I don't have compatible compilers for Qt 5.12.0 MSVC2017 32bit as well !!

    Any suggestions?

    Christian EhrlicherC 1 Reply Last reply
    0
    • V viniltc

      Hi,

      I am trying to build a 32-bit application. I have configured the kit Qt 5.12.0 MSVC2017 32bit.

      C++ compiler : Microsoft Visual C++ Compiler 14.0(x86)

      However there is a warning which says The compiler "Microsoft Visual C++ Compiler 14.0(x86)" (x86-windows-msvc2015-pe-32bit) may not produce code compatible with Qt Version "Qt 5.12.0 MSVC2017 32bit" (x86-windows-msvc2017-pe-32bit) "

      Interestingly, I cant't see Qt 5.12.0 MSVC2015 32bit in my list of kits available, and I don't have compatible compilers for Qt 5.12.0 MSVC2017 32bit as well !!

      Any suggestions?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @viniltc said in Incompatible compilers:

      Any suggestions?

      Since MSVC 2015 and 2017 are not compatible (as you already found out) you only have two options

      • use a MSVC2017 compiler
      • compile Qt with MSVC2015 by yourself

      I would go with the latter since MSVC2015 is way too old.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      V 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @viniltc said in Incompatible compilers:

        Any suggestions?

        Since MSVC 2015 and 2017 are not compatible (as you already found out) you only have two options

        • use a MSVC2017 compiler
        • compile Qt with MSVC2015 by yourself

        I would go with the latter since MSVC2015 is way too old.

        V Offline
        V Offline
        viniltc
        wrote on last edited by
        #3

        @Christian-Ehrlicher Hi, If I compile wih MSVC2015. I get an error :

        :-1: error: LNK1158: cannot run 'rc.exe'
        

        I remember it is something related to some settings within the systems environment. Not sure what exactly it is.

        Christian EhrlicherC 1 Reply Last reply
        0
        • V viniltc

          @Christian-Ehrlicher Hi, If I compile wih MSVC2015. I get an error :

          :-1: error: LNK1158: cannot run 'rc.exe'
          

          I remember it is something related to some settings within the systems environment. Not sure what exactly it is.

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @viniltc said in Incompatible compilers:

          If I compile wih MSVC2015. I get an error :

          What do you compile?
          MSVC2015 is more then 8 years old - use a recent compiler.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          V 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @viniltc said in Incompatible compilers:

            If I compile wih MSVC2015. I get an error :

            What do you compile?
            MSVC2015 is more then 8 years old - use a recent compiler.

            V Offline
            V Offline
            viniltc
            wrote on last edited by
            #5

            @Christian-Ehrlicher Hi, I've a basic question. Im not sure how to configure a new compiler. Do I need to install Visual Studio 2017 for that?

            Christian EhrlicherC 1 Reply Last reply
            0
            • V viniltc

              @Christian-Ehrlicher Hi, I've a basic question. Im not sure how to configure a new compiler. Do I need to install Visual Studio 2017 for that?

              Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @viniltc said in Incompatible compilers:

              Do I need to install Visual Studio 2017 for that?

              When you want to use MSVC2017 you should install it, yes.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              V 1 Reply Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

                @viniltc said in Incompatible compilers:

                Do I need to install Visual Studio 2017 for that?

                When you want to use MSVC2017 you should install it, yes.

                V Offline
                V Offline
                viniltc
                wrote on last edited by
                #7

                @Christian-Ehrlicher. I am using Qt Creator as IDE. I am a bit confused what to install for MSVC 2015 32-bit compilers. Do I need to install the entire Visual Studio 2017 or juts Build tools for Visual studio 2017?

                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