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

qwindow.cpp fails to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.11
    • 5.12.9
    • GUI: Painting
    • None
    • Linux/Other display system
    • 76962609d04a5c63c43fda4073f19646b7ad150f (qt/qtbase/5.12)

    Description

      I am upgrading a runtime from Qt5.12.1 to Qt5.12.9 for a Linux ARM platform.

      With the exact same options than with Qt5.12.1, Qt5.12.9 does not build anymore. I get this error:

      compiling kernel/qwindow.cpp
      kernel/qwindow.cpp: In member function ‘QPoint QWindow::mapToGlobal(const QPoint&) const’:
      kernel/qwindow.cpp:2553:16: error: ‘mapPositionToGlobal’ is not a member of ‘QHighDpiScaling’
               return QHighDpiScaling::mapPositionToGlobal(pos, d->globalPosition(), this);
                      ^
      kernel/qwindow.cpp: In member function ‘QPoint QWindow::mapFromGlobal(const QPoint&) const’:
      kernel/qwindow.cpp:2577:16: error: ‘mapPositionFromGlobal’ is not a member of ‘QHighDpiScaling’
               return QHighDpiScaling::mapPositionFromGlobal(pos, d->globalPosition(), this);
                      ^
      Makefile:18636: recipe for target '.obj/qwindow.o' failed
      

      It seems the problem was here at least since 5.12.6: https://qtlite.com/v5.12.6/highdpiscaling/20191201010940/

       

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            hadrien Hadrien Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes