Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. building QGC with cmake and Qt creator
Qt 6.11 is out! See what's new in the release blog

building QGC with cmake and Qt creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 681 Views
  • 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.
  • R Offline
    R Offline
    RUXX
    wrote on last edited by
    #1

    CMake Error at CMakeLists.txt:80 (find_package):
    Could not find a package configuration file provided by "Qt6" (requested version 6.6.2) with any of the following names:

    Qt6Config.cmake
    qt6-config.cmake
    

    Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR" to a directory containing one of the above files. If "Qt6" provides a separate development package or SDK, be sure it has been installed.
    This is the error im getting while i try to configure in cmake. i did try few solutions but isnt working. please help me solve this error it would be really greatful.

    jsulmJ 1 Reply Last reply
    0
    • R RUXX

      CMake Error at CMakeLists.txt:80 (find_package):
      Could not find a package configuration file provided by "Qt6" (requested version 6.6.2) with any of the following names:

      Qt6Config.cmake
      qt6-config.cmake
      

      Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR" to a directory containing one of the above files. If "Qt6" provides a separate development package or SDK, be sure it has been installed.
      This is the error im getting while i try to configure in cmake. i did try few solutions but isnt working. please help me solve this error it would be really greatful.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @RUXX Please provide more information.
      On which platform are you?
      How did you install Qt?
      How do you execute CMake (inclusively parameters)?

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

      R 1 Reply Last reply
      0
      • jsulmJ jsulm

        @RUXX Please provide more information.
        On which platform are you?
        How did you install Qt?
        How do you execute CMake (inclusively parameters)?

        R Offline
        R Offline
        RUXX
        wrote on last edited by
        #3

        @jsulm hey jsulm thank you for replying.
        im working on windows 64bit and i have installed Qt-unified-windowsx64-4.6.1 version from Qt online installer.

        i actually did not get the last question can u tell me more on how do you excecute cmake i.e inclusively parameters.

        jsulmJ 1 Reply Last reply
        0
        • R RUXX

          @jsulm hey jsulm thank you for replying.
          im working on windows 64bit and i have installed Qt-unified-windowsx64-4.6.1 version from Qt online installer.

          i actually did not get the last question can u tell me more on how do you excecute cmake i.e inclusively parameters.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @RUXX said in building QGC with cmake and Qt creator:

          Qt-unified-windowsx64-4.6.1

          This is not Qt version, this is the version of the Qt installer.

          "i actually did not get the last question" - well, you're executing CMake (you even wrote: "This is the error im getting while i try to configure in cmake"). Either directly on command line or in QtCreator - you did not say anything about that. So, how are you trying to build that project please?

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

          R 1 Reply Last reply
          0
          • jsulmJ jsulm

            @RUXX said in building QGC with cmake and Qt creator:

            Qt-unified-windowsx64-4.6.1

            This is not Qt version, this is the version of the Qt installer.

            "i actually did not get the last question" - well, you're executing CMake (you even wrote: "This is the error im getting while i try to configure in cmake"). Either directly on command line or in QtCreator - you did not say anything about that. So, how are you trying to build that project please?

            R Offline
            R Offline
            RUXX
            wrote on last edited by
            #5

            @jsulm ohh okay i got you. Qt 6.6.2 is the version i have installed and about the cmake i was directly trying to configure in cmake gui application and not on command line or Qt creator.

            jsulmJ 1 Reply Last reply
            0
            • R RUXX

              @jsulm ohh okay i got you. Qt 6.6.2 is the version i have installed and about the cmake i was directly trying to configure in cmake gui application and not on command line or Qt creator.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @RUXX If you're on Windows you should use the Qt preconfigured terminal (cmd.exe) which you can find in the Windows start menu.

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

              R 1 Reply Last reply
              0
              • jsulmJ jsulm

                @RUXX If you're on Windows you should use the Qt preconfigured terminal (cmd.exe) which you can find in the Windows start menu.

                R Offline
                R Offline
                RUXX
                wrote on last edited by
                #7

                @jsulm okay thanks i got it now, thank you so much for replying indeed greatful to you.

                1 Reply Last reply
                1

                • Login

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