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.8k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on 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
    0
    • SGaistS SGaist

      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 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

      jsulmJ 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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

          @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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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
          0
          • jsulmJ jsulm

            @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 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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
              0
              • SGaistS SGaist

                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 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
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 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
                  0
                  • SGaistS SGaist

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

                    P Offline
                    P Offline
                    pistoletov
                    wrote on 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
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 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
                      0
                      • SGaistS SGaist

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

                        P Offline
                        P Offline
                        pistoletov
                        wrote on 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
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 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 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