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

Build failure with lttng enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.2, 6.0.0
    • Fix Version/s: 6.2.0 Alpha
    • Component/s: Core: Other, GUI: OpenGL
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      3dcdd89dd158306784159d673a1be76a32036b14

      Description

      Build with lttng enabled (-trace lttng) fails with following errors:

       

      g++ -c -include .pch/Qt5Gui -pipe -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DMD4C_USE_UTF8 -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQ_TRACEPOINT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../3rdparty/md4c -I../3rdparty/VulkanMemoryAllocator -I../../include -I../../include/QtGui -I../../include/QtGui/5.15.2 -I../../include/QtGui/5.15.2/QtGui -I.tracegen -I/usr/include/libdrm -I../../include/QtCore/5.15.2 -I../../include/QtCore/5.15.2/QtCore -I../../include/QtCore -I.moc -I/usr/include/libpng16 -I../../mkspecs/linux-g++ -o .obj/qopenglframebufferobject.o opengl/qopenglframebufferobject.cpp
      In file included from ../../include/QtCore/5.15.2/QtCore/private/qtrace_p.h:1,
                       from .tracegen/qtgui_tracepoints_p.h:821,
                       from opengl/qopenglframebufferobject.cpp:53:
      opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObjectPrivate::init(QOpenGLFramebufferObject*, const QSize&, QOpenGLFramebufferObject::Attachment, GLenum, GLenum, GLint, bool)’:
      ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/global/qtrace_p.h:126:38: error: ‘trace_QOpenGLFramebufferObjectPrivate_init_entry’ is not a member of ‘QtPrivate’
       #  define Q_TRACE(x, ...) QtPrivate::trace_ ## x(__VA_ARGS__)
                                            ^~~~~~
      ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/global/qtrace_p.h:126:38: note: in definition of macro ‘Q_TRACE’
       #  define Q_TRACE(x, ...) QtPrivate::trace_ ## x(__VA_ARGS__)
                                            ^~~~~~
      opengl/qopenglframebufferobject.cpp:477:5: note: in expansion of macro ‘Q_TRACE_SCOPE’
           Q_TRACE_SCOPE(QOpenGLFramebufferObjectPrivate_init, qfbo, size, attachment, texture_target, internal_format, samples, mipmap);
           ^~~~~~~~~~~~~
      ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/global/qtrace_p.h:126:38: note: suggested alternative: ‘trace_QGuiApplicationPrivate_init_entry’
       #  define Q_TRACE(x, ...) QtPrivate::trace_ ## x(__VA_ARGS__)
                                            ^~~~~~
      ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/global/qtrace_p.h:126:38: note: in definition of macro ‘Q_TRACE’
       #  define Q_TRACE(x, ...) QtPrivate::trace_ ## x(__VA_ARGS__)
                                            ^~~~~~ 

        Attachments

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

          Activity

            People

            Assignee:
            milianw Milian Wolff
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes