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

Qt5 does not compile with the latest mesa version 19.2.2 installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.9.8
    • GUI: OpenGL, QPA: EGLFS
    • None
    • Linux/X11

    Description

      I am trying to compile Qt5 with the latest mesa version installed (19.2.2) but it fails while building the eglfs_kms module:

      ../../../../../../include/QtCore/../../src/corelib/kernel/qvariant.h:380:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
        380 |         inline Private(const Private &other) Q_DECL_NOTHROW
            |                ^~~~~~~
      qeglfskmsegldevice.cpp: At global scope:
      qeglfskmsegldevice.cpp:80:22: error: no declaration matches 'Display* QEglFSKmsEglDevice::nativeDisplay() const'
         80 | EGLNativeDisplayType QEglFSKmsEglDevice::nativeDisplay() const
            |                      ^~~~~~~~~~~~~~~~~~
      In file included from qeglfskmsegldevice.cpp:40:
      qeglfskmsegldevice.h:58:11: note: candidate is: 'virtual void* QEglFSKmsEglDevice::nativeDisplay() const'
         58 |     void *nativeDisplay() const override;
            |           ^~~~~~~~~~~~~
      qeglfskmsegldevice.h:50:7: note: 'class QEglFSKmsEglDevice' defined here
         50 | class QEglFSKmsEglDevice: public QEglFSKmsDevice
            |       ^~~~~~~~~~~~~~~~~~
      make[7]: *** [Makefile:1677: .obj/qeglfskmsegldevice.o] Error 1
      make[7]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice'
      make[6]: *** [Makefile:124: sub-eglfs_kms_egldevice-make_first] Error 2
      make[6]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase/src/plugins/platforms/eglfs/deviceintegration'
      make[5]: *** [Makefile:105: sub-deviceintegration-make_first-ordered] Error 2
      make[5]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase/src/plugins/platforms/eglfs'
      make[4]: *** [Makefile:126: sub-eglfs-make_first] Error 2
      make[4]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase/src/plugins/platforms'
      make[3]: *** [Makefile:102: sub-platforms-make_first] Error 2
      make[3]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase/src/plugins'
      make[2]: *** [Makefile:643: sub-plugins-make_first] Error 2
      make[2]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase/src'
      make[1]: *** [Makefile:49: sub-src-make_first] Error 2
      make[1]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtbase'
      
      

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            liohmoeller Lioh Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes