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

REG->5.12: Unable to build Qt under Windows with -no-feature-tabletevent in 5.12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.1
    • 5.12.0 Beta 4
    • None
    • Windows
    • a94a3098d0cc82a850d2d0c62baad6edef72e142 (qt/qtbase/5.12)

    Description

      Run configure with -no-feature-tabletevent and the build will fail with compiler errors like the following

      ...

      qwindowsdropdataobject.cpp
      jom: K:\qt-build-env\external\Qt5\src\qtbase\src\plugins\platforms\windows\Makefile.Debug [.obj\debug\qwindowspointerhandler.obj] Error 2
      qwindowspointerhandler.cpp(645): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(645): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      qwindowspointerhandler.cpp(645): error C2146: syntax error: missing ';' before identifier 'device'
      qwindowspointerhandler.cpp(645): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(645): error C2065: 'Stylus': undeclared identifier
      qwindowspointerhandler.cpp(646): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(646): error C2065: 'PointerType': undeclared identifier
      qwindowspointerhandler.cpp(646): error C2146: syntax error: missing ';' before identifier 'type'
      qwindowspointerhandler.cpp(646): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(654): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(654): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(654): error C2065: 'Eraser': undeclared identifier
      qwindowspointerhandler.cpp(656): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(656): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(656): error C2065: 'Pen': undeclared identifier
      qwindowspointerhandler.cpp(663): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(663): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(676): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(676): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(699): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(699): error C2065: 'type': undeclared identifier
      

      ...

      qwindowspointerhandler.cpp(645): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(645): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      qwindowspointerhandler.cpp(645): error C2146: syntax error: missing ';' before identifier 'device'
      qwindowspointerhandler.cpp(645): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(645): error C2065: 'Stylus': undeclared identifier
      qwindowspointerhandler.cpp(646): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(646): error C2065: 'PointerType': undeclared identifier
      qwindowspointerhandler.cpp(646): error C2146: syntax error: missing ';' before identifier 'type'
      qwindowspointerhandler.cpp(646): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(654): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(654): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(654): error C2065: 'Eraser': undeclared identifier
      qwindowspointerhandler.cpp(656): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(656): error C2653: 'QTabletEvent': is not a class or namespace name
      qwindowspointerhandler.cpp(656): error C2065: 'Pen': undeclared identifier
      qwindowspointerhandler.cpp(663): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(663): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(676): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(676): error C2065: 'type': undeclared identifier
      qwindowspointerhandler.cpp(699): error C2065: 'device': undeclared identifier
      qwindowspointerhandler.cpp(699): error C2065: 'type': undeclared identifier
      

      ...

      qwindowsdropdataobject.cpp
      ..\windows\qwindowspointerhandler.cpp(645): error C2653: 'QTabletEvent': is not a class or namespace name
      ..\windows\qwindowspointerhandler.cpp(645): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      ..\windows\qwindowspointerhandler.cpp(645): error C2146: syntax error: missing ';' before identifier 'device'
      ..\windows\qwindowspointerhandler.cpp(645): error C2065: 'device': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(645): error C2065: 'Stylus': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(646): error C2653: 'QTabletEvent': is not a class or namespace name
      ..\windows\qwindowspointerhandler.cpp(646): error C2065: 'PointerType': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(646): error C2146: syntax error: missing ';' before identifier 'type'
      ..\windows\qwindowspointerhandler.cpp(646): error C2065: 'type': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(654): error C2065: 'type': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(654): error C2653: 'QTabletEvent': is not a class or namespace name
      ..\windows\qwindowspointerhandler.cpp(654): error C2065: 'Eraser': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(656): error C2065: 'type': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(656): error C2653: 'QTabletEvent': is not a class or namespace name
      ..\windows\qwindowspointerhandler.cpp(656): error C2065: 'Pen': undeclared identifierjom: K:\qt-build-env\external\Qt5\src\qtbase\src\plugins\platforms\direct2d\Makefile.Debug [.obj\debug\qwindowspointerhandler.obj] Error 2..\windows\qwindowspointerhandler.cpp(663): error C2065: 'device': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(663): error C2065: 'type': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(676): error C2065: 'device': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(676): error C2065: 'type': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(699): error C2065: 'device': undeclared identifier
      ..\windows\qwindowspointerhandler.cpp(699): error C2065: 'type': undeclared identifier
      

      ...

      Please fix as before 5.12.0 release.

       

      We have been disabling tablet events for several years now because our WACOM support as always causes our an inconsistent user experience. We disable tablet events so the WACOM drivers generate equivalent mouse events. 

       

       

       

       

      Attachments

        Issue Links

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

          Activity

            People

              anrocha André De La Rocha (Inactive)
              tom.ransdell Tom Ransdell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes