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

Symbian QCursor implementation prints "qt_s60_setWindowGroupCursor - null handle" every time Qt application is executed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.2
    • 4.7.2
    • GUI: Text handling
    • None
    • d8990fbd132fc9e456c55a624eeb709088b0b819

      qmlviewer is used for testing QML application code. The viewer prints out warnings about incorrect usage of QML to a command line terminal on Linux, to a separate window on Windows and to file e:\qml.log on Symbian, though there are plans to provide a warning window for qmlviewer on Symbian (QTBUG-10800). These warnings are used by both developers and non-technical designers when developing QML-based applications. If QML code is correct, no warnings should be printed. Unfortunately at least on Symbian^3 devices, every time qmlviewer is run, Symbian QCursor implementation prints out warning "qt_s60_setWindowGroupCursor - null handle".

      qt_s60_setWindowGroupCursor - null handle
      qt_s60_setWindowGroupCursor - null handle
      qt_s60_setWindowGroupCursor - null handle
      qt_s60_setWindowGroupCursor - null handle
      qt_s60_setWindowGroupCursor - null handle
      

      If you run qmlviewer ten times, you end up with 10 lines of warning in qml.log file. The warning has no use for QML developers. While the issue is minor, it masks real problems in the warning traces, and should be fixed.

      The culprit in question is line 482 in File \src\gui\kernel\qcursor_s60.cpp

      qWarning("qt_s60_setWindowGroupCursor - null handle");
      

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

            shkearns Shane Kearns
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes