Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. How to install QCA for Qt Creator 5 on a Win7 32bit system
Forum Updated to NodeBB v4.3 + New Features

How to install QCA for Qt Creator 5 on a Win7 32bit system

Scheduled Pinned Locked Moved 3rd Party Software
37 Posts 2 Posters 17.1k 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.
  • H Offline
    H Offline
    HelenInTrouble
    wrote on last edited by
    #7

    You mean the filename of the Qt installer? Sorry but I don't have that file anymore. I just took the suggested. When I download it again it suggests qt-opensource-windows-x86-online.exe so I guess that's the right one.

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

      So it's the online installer, then, in your Qt installation you should have a folder name Qt_something for the version you installed, can you tell me what the name looks like ?

      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
      • H Offline
        H Offline
        HelenInTrouble
        wrote on last edited by
        #9

        Uhm unfortunatley I decided to call it just "Qt" during the installation process :/
        Inside that folder there are some folders called

        • 5.3
        • 5.4
        • Docs
        • Examples
        • Extas
        • Licenses
        • temp
        • Tools
        • vcredist

        There are also some files:

        • components.xml
        • InstallationLog.txt
        • MaintenanceTool.dat
        • MaintenanceTool.exe
        • MaintenanceTool.ini
        • network.xml
        • qt-project.org.html
        • README.txt
        • update.rcc
        1 Reply Last reply
        0
        • H Offline
          H Offline
          HelenInTrouble
          wrote on last edited by
          #10

          I can reinstall Qt if that helps.

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

            You should be able to get the information from the Maintenance tool

            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
            • H Offline
              H Offline
              HelenInTrouble
              wrote on last edited by
              #12

              Ok, I found Qt ver. 1.0.8 with Qt 5.4 ver. 5.4.0-1 and Qt 5.3 ver. 5.3.2

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

                MSVC ? MinGW ?

                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
                • H Offline
                  H Offline
                  HelenInTrouble
                  wrote on last edited by
                  #14

                  Oh sorry I missed to open that stuff :/

                  • Qt 5.4 MinGW 4.9.1 (32 bit) OpenGL ver. 5.4.0-1, Qt WebEngine ver. 5.4.0-1
                  • Qt 5.3 MinGW 4.8.2 (32 bit) ver. 5.3.2-0
                  • Tools: MinGW 4.8.2 ver. 4.8.2, MinGW 4.9.1 ver. 4.9.1-2
                  • Qt Extras Qt Canvas and QtWebView (doesn't matter at this point I guess)

                  No MSVC selected.

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

                    No problem, then when calling cmake you should set the generator to "MinGW Makefiles"

                    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
                    • H Offline
                      H Offline
                      HelenInTrouble
                      wrote on last edited by
                      #16

                      Ok. make -G "MinGW Makefiles" c:\qca_2-1-0\ says

                      CMake Error: Error: generator : MinGW Makefiles
                      Does not match the generator used previously: NMake Makefiles Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

                      Should I remove the suggested file?

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

                        Yes, you can empty the folder you used

                        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
                        • H Offline
                          H Offline
                          HelenInTrouble
                          wrote on last edited by
                          #18

                          But this is the cmake folder c:\cmake.
                          Do I only have to delete that file or can i specify a folder and how?

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

                            Don't call cmake from there.

                            Call it either in a build folder inside QCA's sources or at the same level as the sources

                            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
                            • H Offline
                              H Offline
                              HelenInTrouble
                              wrote on last edited by
                              #20

                              Ok I copied cmake into the qca folder and it said

                              C:\qca_2-1-0>cmake -G "MinGW Makefiles" c:\qca_2-1-0\

                              C:\qca_2-1-0>cmake -G "MinGW Makefiles" c:\qca_2-1-0
                              CMake Error: Could not create named generator "MinGW CMake Error: The current CMakeCache.txt directory C:/qca_2-1-0/CMakeCache.txt is different than the directory c:/cmake/bin where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure,
                              reedit the CMakeCache.txt

                              Then I copied QCA into a folder inside of the cmake folder and it says

                              C:\cmake\bin>cmake -G "MinGW MakeFiles" c:\cmake\bin\qca
                              CMake Error: Could not create named generator MinGW MakeFiles

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

                                Don't fiddle with these folders like that

                                @
                                cd C:\qca_2-1-0
                                mkdir build
                                cd build
                                C:\cmake\bin\cmake .. -G "MinGW Makefiles"
                                @

                                And it should start setting things up.

                                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
                                • H Offline
                                  H Offline
                                  HelenInTrouble
                                  wrote on last edited by
                                  #22

                                  I still get the error
                                  CMake Error: Could not create named generator MinGW MakeFiles

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

                                    You are writing "Makefiles" wrong the f is not uppercased

                                    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
                                    • H Offline
                                      H Offline
                                      HelenInTrouble
                                      wrote on last edited by
                                      #24

                                      Oh sorry :/
                                      Now I get a new error. Inside the build folder there is a new file called CMakeCache.txt and a new folder called CMakeFiles in wich is also a new file called cmake.check_cache.

                                      C:\qca_2-1-0\build>c:\cmake\bin\cmake .. -G "MinGW Makefiles"
                                      CMake Error: CMake was unable to find a build program corresponding to "MinGW Ma
                                      kefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a differe
                                      nt build tool.
                                      CMake Error: CMake was unable to find a build program corresponding to "MinGW Ma
                                      kefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a differe
                                      nt build tool.
                                      CMake Error: Error required internal CMake variable not set, cmake may be not be
                                      built correctly.
                                      Missing variable is:
                                      CMAKE_C_COMPILER_ENV_VAR
                                      CMake Error: Error required internal CMake variable not set, cmake may be not be
                                      built correctly.
                                      Missing variable is:
                                      CMAKE_C_COMPILER
                                      CMake Error: Could not find cmake module file: C:/qca_2-1-0/build/CMakeFiles/3.1
                                      .1/CMakeCCompiler.cmake
                                      CMake Error: Error required internal CMake variable not set, cmake may be not be
                                      built correctly.
                                      Missing variable is:
                                      CMAKE_CXX_COMPILER_ENV_VAR
                                      CMake Error: Error required internal CMake variable not set, cmake may be not be
                                      built correctly.
                                      Missing variable is:
                                      CMAKE_CXX_COMPILER
                                      CMake Error: Could not find cmake module file: C:/qca_2-1-0/build/CMakeFiles/3.1
                                      .1/CMakeCXXCompiler.cmake
                                      CMake Error at CMakeLists.txt:9 (project):
                                      No CMAKE_C_COMPILER could be found.

                                      Tell CMake where to find the compiler by setting the CMake cache entry
                                      CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
                                      if it is in the PATH.

                                      CMake Error at CMakeLists.txt:9 (project):
                                      No CMAKE_CXX_COMPILER could be found.

                                      Tell CMake where to find the compiler by setting the CMake cache entry
                                      CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
                                      name if it is in the PATH.

                                      CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
                                      CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
                                      -- Configuring incomplete, errors occurred!

                                      Edit: Maybe it helps to know that MinGW is in c:\MinGW\ with mingw-get.exe in the bin folder.

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

                                        Are you using a self installed MinGW or the one provided with 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
                                        • H Offline
                                          H Offline
                                          HelenInTrouble
                                          wrote on last edited by
                                          #26

                                          I'm not sure but I think I installed MinGW before or after Qt by myself for some reasons. In the Tools folder of Qt are the MinGW versions I mentioned before. So I installed it at least 2 times I guess.

                                          Edit: I think c:\MinGW\ is the rest of an old installation. Because the folder has way less files than c:\Qt\Tools\mingw491_32\ or c:\Qt\Tools\mingw482_32\

                                          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