Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Qt 5.6 MSVC Error when building project made from other Qt versions
Forum Updated to NodeBB v4.3 + New Features

Qt 5.6 MSVC Error when building project made from other Qt versions

Scheduled Pinned Locked Moved Solved Brainstorm
9 Posts 3 Posters 3.9k 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.
  • HashTagJFH Offline
    HashTagJFH Offline
    HashTagJF
    wrote on last edited by A Former User
    #1

    I created a project in Qt 5.4 application. When I tried to run it using Qt 5.1.1 version it works perfectly fine. I tried it to other version and it still works but when I run it using Qt 5.6msvc2015_64 I encountered an error in here.

    The error says --> Error while building/deploying project NotepadTest (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
    When executing step "Make"

    I don't understand this error. Can anyone help me with this?

    Thank you.

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

      Hi,

      You have to post the exact error you got. Check the build console for example

      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
      0
      • HashTagJFH Offline
        HashTagJFH Offline
        HashTagJF
        wrote on last edited by HashTagJF
        #3

        This is the whole error I got.
        Compile Output:
        08:09:33: Configuration is faulty. Check the Issues view for details.
        Error while building/deploying project NotepadTest (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
        When executing step "Make"

        Issues:
        **** Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.****

        1 Reply Last reply
        0
        • HashTagJFH Offline
          HashTagJFH Offline
          HashTagJF
          wrote on last edited by HashTagJF
          #4

          I also check the kit I have in my Qt Creator. It says that there's No Compiler set in Kit
          Does that mean I don't have a compiler?
          How am I going to set up a compiler for it? And do I need to download Mingw for it? If so, What is the most compatible minGW compiler for qt 5.6.0 msvs2015(64 Bit)? Can you send me a link of download. Thanks.
          Your help is much appreciated. Thank you.

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

            You installed Qt for Visual Studio 2015. From the error message, you don't have Visual Studio 2015 installed. That's the first problem.

            If you want to use Qt with MinGW, then install that version of Qt. The installer also proposes the matching MinGW so you don't have to get it manually.

            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
            0
            • HashTagJFH Offline
              HashTagJFH Offline
              HashTagJF
              wrote on last edited by
              #6

              I already tried to install Visual Studio 2015 but still got the same error.

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

                Did you check the compiler detection in Qt Creator's options ?

                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
                0
                • HashTagJFH Offline
                  HashTagJFH Offline
                  HashTagJF
                  wrote on last edited by HashTagJF
                  #8

                  Here's the solution I found myself...
                  When using qt5.6.0 msvc2015_64 bit. You must also install visual studio 2015 to make it work... while installing visual 2015 make sure that C++ program is included in the installation in order fpr Qt to detect the compiler.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AuroraStone
                    Banned
                    wrote on last edited by
                    #9
                    This post is deleted!
                    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