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. How to build project with QT
Forum Updated to NodeBB v4.3 + New Features

How to build project with QT

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
16 Posts 4 Posters 5.6k 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.
  • P Offline
    P Offline
    pistoletov
    wrote on 29 Jan 2018, 15:47 last edited by
    #1

    Hi! i just want to build project from github - https://github.com/DreamSworK/UDP-Logger.
    I have installed VS2015 and QT creator (5.10.0) also i install cmake (3.10.2) utility.
    But if i load project in creator i got errors: The CXX compiler identification is unknown
    CMake Error at CMakeLists.txt:2 (project):
    The CMAKE_C_COMPILER:

    cl
    

    is not a full path and was not found in the PATH.

    i run vcvarsall.bat but this not resolve the problem. I did not see CC or CL in environment variables.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Jan 2018, 21:56 last edited by
      #2

      Hi and welcome to devnet,

      When installing Visual Studio, did you select the C++ components ?

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

      P 1 Reply Last reply 31 Jan 2018, 07:26
      1
      • S SGaist
        29 Jan 2018, 21:56

        Hi and welcome to devnet,

        When installing Visual Studio, did you select the C++ components ?

        P Offline
        P Offline
        pistoletov
        wrote on 31 Jan 2018, 07:26 last edited by
        #3

        @SGaist First time i have not install this components (Only c#) . And i have install it after installation QT creator but this does not resolve the problem.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 31 Jan 2018, 07:35 last edited by
          #4

          Which version of Qt did you install ?
          Did you check the Kit in the settings ?
          Did you do a full rebuild of your project ?

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

          P 1 Reply Last reply 31 Jan 2018, 07:49
          0
          • S SGaist
            31 Jan 2018, 07:35

            Which version of Qt did you install ?
            Did you check the Kit in the settings ?
            Did you do a full rebuild of your project ?

            P Offline
            P Offline
            pistoletov
            wrote on 31 Jan 2018, 07:49 last edited by
            #5

            @SGaist Did you mean QT creator version ? 5.10.0
            Does QT need to be installed separately from QT CREATOR?

            0_1517384869157_a487dca8-07d8-45ca-bdfe-3cbaa77c2219-image.png

            J 1 Reply Last reply 31 Jan 2018, 10:12
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 31 Jan 2018, 09:56 last edited by
              #6

              No, I did mean Qt. Qt Creator is the IDE, and the current version is 4.5.

              Yes it does, Qt and Qt Creator are independent projects.

              When using Qt's online/offline installers, both are proposed together.

              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
              • P pistoletov
                31 Jan 2018, 07:49

                @SGaist Did you mean QT creator version ? 5.10.0
                Does QT need to be installed separately from QT CREATOR?

                0_1517384869157_a487dca8-07d8-45ca-bdfe-3cbaa77c2219-image.png

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 31 Jan 2018, 10:12 last edited by
                #7

                @pistoletov In your Kit Qt version is not set. Did you install the correct Qt version (for VS2015).

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                P 1 Reply Last reply 31 Jan 2018, 10:20
                0
                • J jsulm
                  31 Jan 2018, 10:12

                  @pistoletov In your Kit Qt version is not set. Did you install the correct Qt version (for VS2015).

                  P Offline
                  P Offline
                  pistoletov
                  wrote on 31 Jan 2018, 10:20 last edited by
                  #8

                  @jsulm now i instal QT version 5.5.1 from qt-unified-windows instaler. Where i can find which qt version suitable for vs2015. Does 5.5.1 ok for vs2015?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 31 Jan 2018, 10:44 last edited by
                    #9

                    When you select the Qt version you want to install, the name of the compiler it supports is indicated.

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

                    P 1 Reply Last reply 31 Jan 2018, 13:18
                    0
                    • S SGaist
                      31 Jan 2018, 10:44

                      When you select the Qt version you want to install, the name of the compiler it supports is indicated.

                      P Offline
                      P Offline
                      pistoletov
                      wrote on 31 Jan 2018, 13:18 last edited by
                      #10

                      @SGaist i just need add only this component for win7 x 64 and VS2015 (in red)
                      0_1517404682383_07b44608-bec6-4b75-a0cd-bdc43a99a21d-image.png

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 31 Jan 2018, 20:27 last edited by
                        #11

                        Yes, if you want to build for 64bit, otherwise you will need then one just above.

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

                        P 1 Reply Last reply 1 Feb 2018, 08:37
                        0
                        • S SGaist
                          31 Jan 2018, 20:27

                          Yes, if you want to build for 64bit, otherwise you will need then one just above.

                          P Offline
                          P Offline
                          pistoletov
                          wrote on 1 Feb 2018, 08:37 last edited by
                          #12

                          @SGaist Hmm... the same errors with installed qt...The CXX compiler identification is unknown
                          CMake Error at CMakeLists.txt:2 (project):
                          The CMAKE_C_COMPILER:

                          cl
                          

                          is not a full path and was not found in the PATH.
                          what i need to do next? May be you advice to install another lightweight bundle ( Mingw?) for build simple project. It s really hard to build first project with QT-))

                          0_1517473950971_d8fe33de-887b-4549-a328-d8015dde1a03-image.png

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 1 Feb 2018, 22:16 last edited by
                            #13

                            What warning do you get if you hover the yellow triangle ?

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

                            P 1 Reply Last reply 2 Feb 2018, 09:13
                            0
                            • S SGaist
                              1 Feb 2018, 22:16

                              What warning do you get if you hover the yellow triangle ?

                              P Offline
                              P Offline
                              pistoletov
                              wrote on 2 Feb 2018, 09:13 last edited by
                              #14

                              @SGaist No debugger set up.
                              In this parameters i have some new error messages
                              My Cmake version is 3.10.2:

                              unning "C:\Program Files\CMake\bin\cmake.exe -E server "--pipe=\.\pipe{55343635-7432-42da-ba41-08af36f204b2}" --experimental" in D:!!!!DIY_PROJECTS!!!!!\QT\build-UDP-Logger-Unnamed-Debug.
                              Starting to parse CMake project.
                              The C compiler identification is MSVC 19.0.24215.1
                              The CXX compiler identification is MSVC 19.0.24215.1
                              Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe
                              CMake Error: Generator: execution of make failed. Make command was: "jom" "/NOLOGO" "cmTC_bcb9f\fast"
                              Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe -- broken
                              CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
                              The C compiler

                              "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe"
                              

                              is not able to compile a simple test program.

                              0_1517562757767_5c684e19-ae6c-42fc-b400-e9a8bb5cef59-image.png

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 2 Feb 2018, 22:07 last edited by
                                #15

                                Can you build a default qmake application ?

                                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
                                • D Offline
                                  D Offline
                                  Dunkan
                                  wrote on 24 Jan 2020, 04:50 last edited by
                                  #16

                                  Hello. How did you solve this problem?

                                  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