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

Qt.labs.location is not built

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.10
    • 5.15.3
    • Location
    • None
    • Linux/X11
    • 3eaed3d6fa (qt/tqtc-qtlocation/5.15) 3eaed3d6fa (qt/tqtc-qtlocation/5.15.10)

    Description

      Commit f1d2a49c747e69938f9f878f64620d7d6fc61b41 makes Qt.labs.location compilation conditional on config.opengl, but it doesn't seem to work. My Qt is built with opengl:

      > cat /usr/lib/qt/mkspecs/modules/qt_lib_gui.pri
      QT.gui.VERSION = 5.15.3
      QT.gui.name = QtGui
      QT.gui.module = Qt5Gui
      QT.gui.libs = $$QT_MODULE_LIB_BASE
      QT.gui.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/QtGui
      QT.gui.frameworks =
      QT.gui.bins = $$QT_MODULE_BIN_BASE
      QT.gui.plugin_types = accessiblebridge platforms platforms/darwin xcbglintegrations platformthemes platforminputcontexts generic iconengines imageformats egldeviceintegrations
      QT.gui.depends = core
      QT.gui.uses = vulkan/nolink
      QT.gui.module_config = v2 ltcg
      QT.gui.CONFIG = opengl
      QT.gui.DEFINES = QT_GUI_LIB
      QT.gui.enabled_features = accessibility action clipboard colornames cssparser cursor desktopservices imageformat_xpm draganddrop opengl imageformatplugin highdpiscaling im image_heuristic_mask image_text imageformat_bmp imageformat_jpeg imageformat_png imageformat_ppm imageformat_xbm movie pdf picture sessionmanager shortcut standarditemmodel system-textmarkdownreader systemtrayicon tabletevent texthtmlparser textmarkdownreader textmarkdownwriter textodfwriter validator vulkan whatsthis wheelevent
      QT.gui.disabled_features = opengles2 dynamicgl angle combined-angle-lib opengles3 opengles31 opengles32 openvg
      QT_CONFIG += accessibility accessibility-atspi-bridge action clipboard colornames cssparser cursor desktopservices imageformat_xpm draganddrop opengl egl kms gbm freetype fontconfig imageformatplugin harfbuzz highdpiscaling ico im image_heuristic_mask image_text imageformat_bmp imageformat_jpeg imageformat_png imageformat_ppm imageformat_xbm movie pdf picture sessionmanager shortcut standarditemmodel systemtrayicon tabletevent texthtmlparser textodfwriter validator whatsthis wheelevent
      QT_MODULES += gui

      yet qmake doesn't detect it at qtlocation build time:

      Configure summary:
      
      Qt Positioning:
        Gypsy GPS Daemon ....................... no
        WinRT Geolocation API .................. no
      Qt Location:
        Qt.labs.location experimental QML plugin . no
        Geoservice plugins:
          OpenStreetMap ........................ yes
          HERE ................................. yes
          Esri ................................. yes
          Mapbox ............................... yes
          MapboxGL ............................. yes
          Itemsoverlay ......................... yes
      

      Changing "condition": "config.opengl" to "condition": "features.opengl" fixes it.

       

      Attachments

        For Gerrit Dashboard: QTBUG-101765
        # Subject Branch Project Status CR V

        Activity

          People

            paangele Paolo Angelelli
            arojas Antonio Rojas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes