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

[REGRESSION] QtLocation does not build without OpenGL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.15.0 Alpha, 5.15.0 Beta1, 5.15.0 Beta2, 5.15.0 Beta4, 5.15.0, 5.15
    • Fix Version/s: 5.15.3
    • Component/s: Location
    • Labels:
      None
    • Platform/s:
      Linux/Other display system

      Description

      /tmp/e2/build/qt-everywhere-src-5.15.0-alpha/qtlocation/include/QtLocation/5.15.0/QtLocation/private/../../../../../src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h: At global scope:
      /tmp/e2/build/qt-everywhere-src-5.15.0-alpha/qtlocation/include/QtLocation/5.15.0/QtLocation/private/../../../../../src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h:152:17: error: 'const char* MapPolygonShader::vertexShader() const' marked 'override', but does not override
        152 |     const char *vertexShader() const override {
            |                 ^~~~~~~~~~~~
      /tmp/e2/build/qt-everywhere-src-5.15.0-alpha/qtlocation/include/QtLocation/5.15.0/QtLocation/private/../../../../../src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h:168:17: error: 'const char* MapPolygonShader::fragmentShader() const' marked 'override', but does not override
        168 |     const char *fragmentShader() const override {
            |                 ^~~~~~~~~~~~~~
      /tmp/e2/build/qt-everywhere-src-5.15.0-alpha/qtlocation/include/QtLocation/5.15.0/QtLocation/private/../../../../../src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h: In member function 'virtual void MapPolygonShader::initialize()':
      /tmp/e2/build/qt-everywhere-src-5.15.0-alpha/qtlocation/include/QtLocation/5.15.0/QtLocation/private/../../../../../src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h:186:23: error: 'program' was not declared in this scope
        186 |         m_matrix_id = program()->uniformLocation("qt_Matrix");
            |                       ^~~~~~~
      

      Configured with:

      ../qt5/configure -confirm-license -prefix /usr -hostprefix /opt/emlix/test -hostbindir /opt/emlix/test/bin -hostdatadir /opt/emlix/test -bindir /usr/bin -libdir /usr/lib -libexecdir /usr/libexec -headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -datadir /usr/share/qt5 -plugindir /usr/lib/qt5/plugins -importdir /usr/lib/qt5/imports -translationdir /usr/share/qt5/translations -release -opensource -shared -pch -pkg-config -platform linux-g++ -device linux-test-g++ -plugin-sql-sqlite -v -no-rpath -nomake tools -sysroot /opt/emlix/test/sysroot -no-opengl -nomake examples -skip activeqt -skip wayland -skip 3d -skip x11extras -skip macextras -skip winextras -skip androidextras -skip webengine -skip webview -skip purchasing -skip charts -skip datavis3d -skip virtualkeyboard -skip gamepad -skip speech -skip networkauth -skip remoteobjects -skip webglplugin -skip lottie -skip quicktimeline -skip quick3d -gui -widgets -alsa -gstreamer -no-cups -dbus-linked -no-directfb -fontconfig -system-freetype -glib -no-iconv -icu -system-libjpeg -system-libpng -openssl-linked -qt-pcre -system-sqlite -tslib -libudev -no-xcb -syslog -system-zlib
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              paangele Paolo Angelelli
              Reporter:
              rebemlix Rolf Eike Beer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes