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

6.7.2 qtlocation: cmake fails because it needs Qt6PositioningQuick

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 6.7.2
    • Location, Positioning
    • None
    • Linux/X11

    Description

       

      cmake fails because it is looking for Qt6PositioningQuick but Qt Positioning 6.7.2 nmo longer provides that cmake module.

      + /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D QT_BUILD_EXAMPLES=ON -D QT_INSTALL_EXAMPLES_SOURCES=OFF
      -- The CXX compiler identification is GNU 14.1.1
      -- The C compiler identification is GNU 14.1.1
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/g++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/gcc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Found OpenGL: /usr/lib64/libOpenGL.so
      -- Found WrapOpenGL: TRUE
      -- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
      -- Found WrapVulkanHeaders: /usr/include
      -- Could NOT find Qt6PositioningQuick (missing: Qt6PositioningQuick_DIR)
      CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:236 (message):
        Failed to find optional Qt component "PositioningQuick".  Expected Config file at
        "/usr/lib64/cmake/Qt6PositioningQuick/Qt6PositioningQuickConfig.cmake" does
        NOT existCall Stack (most recent call first):
        CMakeLists.txt:29 (find_package)
      Skipping the build as the condition "TARGET Qt::PositioningQuick" is not met.
      -- Configuring done (2.3s)
      -- Generating done (0.0s)
      CMake Warning:
        Manually-specified variables were not used by the project:    CMAKE_Fortran_FLAGS_RELEASE
          INCLUDE_INSTALL_DIR
          LIB_INSTALL_DIR
          LIB_SUFFIX
          QT_INSTALL_EXAMPLES_SOURCES
          SHARE_INSTALL_PREFIX
          SYSCONF_INSTALL_DIR
      -- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu
      + /usr/bin/cmake --build x86_64-redhat-linux-gnu -j48 --verbose
      Change Dir: '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu'Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j48
      /usr/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2 -B/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
      /usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/CMakeFiles /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu//CMakeFiles/progress.marks
      /usr/bin/gmake  -f CMakeFiles/Makefile2 all
      gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu'
      gmake[1]: Nothing to be done for 'all'.
      gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu'
      /usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-6.7.2/x86_64-redhat-linux-gnu/CMakeFiles 0

      List of cmake and pkgconfig provides dependencies of Qt Positioning

       

       

      cmake(Qt6Positioning)
      cmake(Qt6QGeoPositionInfoSourceFactoryGeoclue2Plugin)
      cmake(Qt6QGeoPositionInfoSourceFactoryNmeaPlugin)
      cmake(Qt6QGeoPositionInfoSourceFactoryPollPlugin)
      cmake(Qt6QGeoPositionInfoSourceFactoryTestPlugin)
      cmake(QtPositioningTests)
      cmake(qt6positioning)
      cmake(qt6qgeopositioninfosourcefactorygeoclue2plugin)
      cmake(qt6qgeopositioninfosourcefactorynmeaplugin)
      cmake(qt6qgeopositioninfosourcefactorypollplugin)
      cmake(qt6qgeopositioninfosourcefactorytestplugin)
      cmake(qtpositioningtests)
      pkgconfig(Qt6Positioning) = 6.7.2

      Next thing is that as wrote in other Qt tickets all cmake modules are unversioned.

       

       

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes