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. QCursor the cursor is not visible in Symbian Belle
Forum Updated to NodeBB v4.3 + New Features

QCursor the cursor is not visible in Symbian Belle

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 543 Views 1 Watching
  • 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.
  • Dante LeonciniD Offline
    Dante LeonciniD Offline
    Dante Leoncini
    wrote on last edited by
    #1

    I'm trying to create a mouse for a program in Symbian.

    try using this code to display a cross cursor:

    QApplication::setOverrideCursor(QCursor(Qt::CrossCursor));
    

    but it only works in PC version. in the phone the cursor is invisible.

    attempt to insert an image to the cursor

    QPixmap pix(":/image/Raton_01.bmp");
    pix.setMask(QBitmap(QPixmap(":/image/Raton_01_a.bmp")));
    app.setOverrideCursor(QCursor(pix));
    

    but get the error: "QCursor: Cannot create bitmap cursor; invalid bitmap(s)"

    I do not know what to do

    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