Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Brainstorm
    3
    9
    3166
    Loading More Posts
    • 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.
    • HashTagJF
      HashTagJF last edited by A Former User

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • HashTagJF
          HashTagJF last edited by HashTagJF

          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 Reply Quote 0
          • HashTagJF
            HashTagJF last edited by HashTagJF

            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 Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              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 Reply Quote 0
              • HashTagJF
                HashTagJF last edited by

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

                1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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 Reply Quote 0
                  • HashTagJF
                    HashTagJF last edited by HashTagJF

                    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 Reply Quote 0
                    • A
                      AuroraStone Banned last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post