Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt_s60_setWindowGroupCursor and Q_SYMBIAN_HAS_SYSTEM_CURSORS Question
-
When i deployed my qt application on symbian^3 I sometimes get the warning "qt_s60_setWindowGroupCursor - null handle" when i interact with the application so i went through the source and came across this code .
@/*- Makes the specified cursor appear above a specific native window group
- Called from QSymbianControl and QApplication::restoreOverrideCursor
- Window server is needed for this, so there is no equivalent when using
- the sprite workaround.
*/
void qt_symbian_setWindowGroupCursor(const QCursor &cursor, RWindowTreeNode &node)
{
Qt::HANDLE handle = cursor.handle();
if (handle) {
RWsPointerCursor *pcurs = reinterpret_cast<RWsPointerCursor *> (handle);
node.SetCustomPointerCursor(*pcurs);
}
#ifdef Q_SYMBIAN_HAS_SYSTEM_CURSORS
else {
TInt shape = qt_symbian_translate_cursor_shape(cursor.shape());
node.SetPointerCursor(shape);
}
#else
qWarning("qt_s60_setWindowGroupCursor - null handle");
#endif
}@
i tried reading about this but i never understood what the warning was about, any ideas ?
-
I also have this problem on Nokia N8
"http://www.qt.gitorious.org/qt/qt/commit/b118ea010442c50b4b0393847c5e7f66b17d10a8?diffmode=sidebyside":http://www.qt.gitorious.org/qt/qt/commit/b118ea010442c50b4b0393847c5e7f66b17d10a8?diffmode=sidebyside