Results 1 to 2 of 2

Thread: Qt QT_NO_TABLET, QT_NO_TABLETEVENT build bug?

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Qt QT_NO_TABLET, QT_NO_TABLETEVENT build bug?

    Hello everyone.

    May be this is a bug.

    While configuring and compiling Qt with QT_NO_TABLET, QT_NO_TABLETEVENT, i get error about QTabletDeviceData undefined.

    in qapplication_p.h
    found a guarded section with QTabletDeviceData defenition
    Qt Code:
    1. #ifndef QT_NO_TABLET
    2. struct QTabletDeviceData
    3. {
    To copy to clipboard, switch view to plain text mode 

    however in qapplication_win.cpp
    there is an unguarded section containing:

    Qt Code:
    1. typedef QHash<quint64, QTabletDeviceData> QTabletCursorInfo;
    2. Q_GLOBAL_STATIC(QTabletCursorInfo, tCursorInfo)
    3. QTabletDeviceData currentTabletPointer;
    To copy to clipboard, switch view to plain text mode 

    Anyone can explain this?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt QT_NO_TABLET, QT_NO_TABLETEVENT build bug?

    Indeed looks like a bug if there are no other guards around. You should probably report it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 3rd October 2011, 23:04
  2. Qt Creator Qt SDK, Remote Compiler "Build Failed: Errors in build"
    By strahlex in forum Qt Tools
    Replies: 0
    Last Post: 10th August 2011, 16:59
  3. Failed to build Qt 4.7.1 in a shadow build with feature tuning
    By myfifth in forum Installation and Deployment
    Replies: 0
    Last Post: 17th February 2011, 03:25
  4. Replies: 1
    Last Post: 13th January 2010, 23:35
  5. Moving from QT 4.5 shared build to QT 4.5.2 static build
    By extrakun in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2009, 09:49

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.