Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt_s60_setWindowGroupCursor and Q_SYMBIAN_HAS_SYSTEM_CURSORS Question
QtWS25 Last Chance

Qt_s60_setWindowGroupCursor and Q_SYMBIAN_HAS_SYSTEM_CURSORS Question

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    archerabi
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alexander
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved