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

5.15.11: build fails with " error: ‘class QXcbWindow’ has no member named ‘mapFromGlobalF’"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15.11
    • Core: Other
    • None
    • Linux/Wayland

      I've been trying 5.15.11 + f97da619 only and  5.15.11 all changes up to f97da619 from kde/5.15 branch (from https://invent.kde.org/qt/qt/qtbase/) and in both case build fails with:

      ( test -e Makefile.xcb_qpa_lib || /home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/bin/qmake -o Makefile.xcb_qpa_lib /home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src/plugins/platforms/xcb/xcb_qpa_lib.pro ) && make -f Makefile.xcb_qpa_lib
      make[5]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src/plugins/platforms/xcb'
      /usr/bin/g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_FOREACH -DQT_BUILD_XCB_PLUGIN -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_XCB_QPA_LIB_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 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_SERVICE_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_LINUXACCESSIBILITY_SUPPORT_LIB -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_VULKAN_SUPPORT_LIB -DQT_GUI_LIB -DQT_EDID_SUPPORT_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Igl_integrations -I../../../../include -I../../../../include/QtServiceSupport -I../../../../include/QtServiceSupport/5.15.11 -I../../../../include/QtServiceSupport/5.15.11/QtServiceSupport -I../../../../include/QtThemeSupport -I../../../../include/QtThemeSupport/5.15.11 -I../../../../include/QtThemeSupport/5.15.11/QtThemeSupport -I../../../../include/QtFontDatabaseSupport -I../../../../include/QtFontDatabaseSupport/5.15.11 -I../../../../include/QtFontDatabaseSupport/5.15.11/QtFontDatabaseSupport -I../../../../include/QtXkbCommonSupport -I../../../../include/QtXkbCommonSupport/5.15.11 -I../../../../include/QtXkbCommonSupport/5.15.11/QtXkbCommonSupport -I../../../../include/QtLinuxAccessibilitySupport -I../../../../include/QtLinuxAccessibilitySupport/5.15.11 -I../../../../include/QtLinuxAccessibilitySupport/5.15.11/QtLinuxAccessibilitySupport -I../../../../include/QtAccessibilitySupport -I../../../../include/QtAccessibilitySupport/5.15.11 -I../../../../include/QtAccessibilitySupport/5.15.11/QtAccessibilitySupport -I../../../../include/QtVulkanSupport -I../../../../include/QtVulkanSupport/5.15.11 -I../../../../include/QtVulkanSupport/5.15.11/QtVulkanSupport -I../../../../include/QtGui/5.15.11 -I../../../../include/QtGui/5.15.11/QtGui -I../../../../include/QtGui -I../../../../include/QtEdidSupport -I../../../../include/QtEdidSupport/5.15.11 -I../../../../include/QtEdidSupport/5.15.11/QtEdidSupport -I../../../../include/QtCore/5.15.11 -I../../../../include/QtCore/5.15.11/QtCore -I../../../../include/QtDBus -I../../../../include/QtCore -I.moc -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../../../mkspecs/linux-g++ -o .obj/qxcbconnection_xi2.o qxcbconnection_xi2.cpp
      qxcbconnection_xi2.cpp: In member function ‘void QXcbConnection::xi2ReportTabletEvent(const void*, TabletData*)’:
      qxcbconnection_xi2.cpp:1258:39: error: ‘class QXcbWindow’ has no member named ‘mapFromGlobalF’; did you mean ‘mapFromGlobal’?
       1258 |                 local.setX(xcbWindow->mapFromGlobalF(global).x());
            |                                       ^~~~~~~~~~~~~~
            |                                       mapFromGlobal
      qxcbconnection_xi2.cpp:1265:39: error: ‘class QXcbWindow’ has no member named ‘mapFromGlobalF’; did you mean ‘mapFromGlobal’?
       1265 |                 local.setY(xcbWindow->mapFromGlobalF(global).y());
            |                                       ^~~~~~~~~~~~~~
            |                                       mapFromGlobal
      make[5]: *** [Makefile.xcb_qpa_lib:10869: .obj/qxcbconnection_xi2.o] Error 1 

       

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

            thiago Thiago Macieira
            kloczek Tomasz Kloczko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes