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. Please help me to resolve this error :Cmake error
Forum Updated to NodeBB v4.3 + New Features

Please help me to resolve this error :Cmake error

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.3k 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

    Hello everyone, im new to this whole world of Qground control station, QT and Cmake. please help with to resolve the error. will be very thankful.

    Error CMake Error at ~\qgroundcontrol\CMakeLists.txt:80 (find_package):
    Found package configuration file:
    C:/Qt/6.6.1/mingw_64/lib/cmake/Qt6/Qt6Config.cmake

    but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package:
    Failed to find required Qt component "Bluetooth".

    Expected Config file at
    "C:/Qt/6.6.1/mingw_64/lib/cmake/Qt6Bluetooth/Qt6BluetoothConfig.cmake" does NOT exist

    Configuring with --debug-find-pkg=Qt6Bluetooth might reveal details why the package was not found.
    Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package.
    QGroundControl ~\qgroundcontrol\CMakeLists.txt 80

    jsulmJ 1 Reply Last reply
    0
    • R RUXX

      Hello everyone, im new to this whole world of Qground control station, QT and Cmake. please help with to resolve the error. will be very thankful.

      Error CMake Error at ~\qgroundcontrol\CMakeLists.txt:80 (find_package):
      Found package configuration file:
      C:/Qt/6.6.1/mingw_64/lib/cmake/Qt6/Qt6Config.cmake

      but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package:
      Failed to find required Qt component "Bluetooth".

      Expected Config file at
      "C:/Qt/6.6.1/mingw_64/lib/cmake/Qt6Bluetooth/Qt6BluetoothConfig.cmake" does NOT exist

      Configuring with --debug-find-pkg=Qt6Bluetooth might reveal details why the package was not found.
      Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package.
      QGroundControl ~\qgroundcontrol\CMakeLists.txt 80

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

      @RUXX said in Please help me to resolve this error :Cmake error:

      Configuring with --debug-find-pkg=Qt6Bluetooth might reveal details why the package was not found.

      Did you follow this suggestion?
      Do you need QtBluetooth?
      How did you install Qt?

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

      R 1 Reply Last reply
      0
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        @RUXX Judging by the paths in your error message I am guessing † you used the Qt Online Installer. So, check this:
        47a97475-84c7-4432-9dbd-afa646ab3dc1-image.png

        † We should not need to guess.

        R 1 Reply Last reply
        0
        • C ChrisW67

          @RUXX Judging by the paths in your error message I am guessing † you used the Qt Online Installer. So, check this:
          47a97475-84c7-4432-9dbd-afa646ab3dc1-image.png

          † We should not need to guess.

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

          @ChrisW67 hello chrisW67, thank you for replying and yes i did check the component as you have mentioned and its installed but still im getting the same error as before. im just clueless where am i going wrong!

          1 Reply Last reply
          0
          • jsulmJ jsulm

            @RUXX said in Please help me to resolve this error :Cmake error:

            Configuring with --debug-find-pkg=Qt6Bluetooth might reveal details why the package was not found.

            Did you follow this suggestion?
            Do you need QtBluetooth?
            How did you install Qt?

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

            @jsulm Thank you for replying but please can you explain me in detail the steps on how can i run that command and where?

            jsulmJ 1 Reply Last reply
            0
            • R RUXX

              @jsulm Thank you for replying but please can you explain me in detail the steps on how can i run that command and where?

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

              @RUXX Just add "--debug-find-pkg=Qt6Bluetooth" parameter to your CMake call...

              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