Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.10.0 - Cmake configuration
Forum Updated to NodeBB v4.3 + New Features

Qt 5.10.0 - Cmake configuration

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 2 Posters 2.4k 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.
  • C Offline
    C Offline
    Cute
    wrote on last edited by
    #1

    Hi,

    I just installed Qt 5.10.0 with MVS2017 and Qt Creator 4.5.0 -beta1 Community.

    I get the following compile errors when trying to run any project:

    Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment?
    Error while parsing file C:\Programming\Qt\test1\test1.pro. Giving up.

    0_1510843842676_Qt.png

    Any suggestions on how to fix the warnings and to succesfully run a project?

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

      Hi and welcome to devnet,

      Did you install Visual Studio 2017 ? It’s not something the installer can do for you as Microsoft doesn’t allow distribution of its tools.

      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
      • C Offline
        C Offline
        Cute
        wrote on last edited by
        #3

        Thank you.
        Yes I've used Visual Studio 2017 for a while for my C++ projects.

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

          Does the compiler tab show VS2017 properly ?
          What about the Kits tab ?

          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
          • C Offline
            C Offline
            Cute
            wrote on last edited by
            #5

            Thanks for your reply.

            As far as I've understood, VS2017 is visualstudioversion 15.0.

            0_1510999931007_qt_compilers.png
            0_1510999974215_qt_kits.png

            0_1511000107497_qt_cmake_config.png

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

              That does look good...

              Can you check with the current stable version of Qt ?

              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
              • C Offline
                C Offline
                Cute
                wrote on last edited by
                #7

                Thanks for your suggestions.

                I tried by re-installing to version 5.9.2. Got the exact same issues, same warnings, only difference was the Qt version.

                Gave up trying the MVS2017 Compiler, re-installed again with mingw compiler, and I´m up and running.

                Thanks again.

                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