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.3k 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
    #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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #27

              Then just remove it completely (however I don't remember if there's an entry for it in Windows Control Panel)

              IIRC, you should also have shortcut in Start Menu -> Qt that starts a command line with MinGW setup, use that one and you should be good to go.

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

                I can't find any hints how to uninstall it (if even possible) so I just renamed c:\MinGW to c:\MinGW_OLD just in case I need it for something I forgot.

                In Start Menu -> Qt are only these entries

                • Qt Creator (Community)
                • Qt Maintenance Tool
                • qt-project.org
                • README
                • Unistall Qt
                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #29

                  Ok then, take a look in your Qt folder and search for a file called qtenv2.bat

                  Once you have found it you can create a shortcut containing:

                  @C:\Windows\System32\cmd.exe /A /Q /K C:\Qt\Qt5.4.1\5.4.1\mingw49_32\bin\qtenv2.bat@

                  Adapt the path to yours

                  Then start the command line using that shortcut and you should have mingw at your disposition

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

                    Ok, I did so. Thank you! When I run C:\qca_2-1-0\build>c:\cmake\bin\cmake .. -G "MinGW Makefiles" now, I'm getting the same error again.

                    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 Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
                    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different 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.2/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.2/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!

                    C:\qca_2-1-0\build>

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

                      Did you start from a clean folder ?

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

                        I tried again from a clean folder and running the shortcut as admin before.
                        Somehow it worked. :)
                        Now I have some folders and files in c:\qca_2-1-0\build
                        Thank you very much!
                        How to move on from here?

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

                          Admin ? Strange…

                          "Here":https://github.com/JPNaude/dev_notes/wiki/Using-the-Qt-Cryptographic-Architecture-with-Qt5 you have a nice explanation on how to check that everything is fine

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

                            So now I have to run make from inside the build folder?

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

                              run make ?
                              Can you be more specific ?

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

                                Sorry that I didn't reply. I couldn't use the computer for a while.

                                Well I don't know where to start at the given link.

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

                                  You can run the qcatool.exe to check that everything is in place

                                  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

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved