Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136529

CMake output refers to Location but it wants Positioning

XMLWordPrintable

    • macOS

      Trying to figure out needed components on the Qt env is always thrilling and entertaining. Will I get it right or not! Luckily there are things like misguiding Cmake output which guide you to install wrong package first and then you get to experience the 1-10 click flow again!

      This time it was the Positioning module which was needed by the project:

      cmake] CMake Error at src/CMakeLists.txt:1 (find_package):
      [cmake]   Found package configuration file:
      [cmake] 
      [cmake]     /Users/jarkovihriala/Qt/6.8.3/macos/lib/cmake/Qt6/Qt6Config.cmake
      [cmake] 
      [cmake]   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      [cmake]   FOUND.  Reason given by package:
      [cmake] 
      [cmake]   Failed to find required Qt component "Location".

      The error went away after installing Positioning module.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            javihria Jarko Vihriälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes