Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. X Error: BadCursor
Forum Update on Monday, May 27th 2025

X Error: BadCursor

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.6k 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.
  • I Offline
    I Offline
    iam_peter
    wrote on last edited by
    #1

    hi,

    iam getting an X Error when my application starts:

    @X Error: BadCursor (invalid Cursor parameter) 6
    Major opcode: 2 (X_ChangeWindowAttributes)
    Resource id: 0x2
    @

    My application consists of a QMainWindow and several QDockWidgets.
    Everytime the cursor is over a border of a QDockWidget and it changes from Qt::SizeVerCursor/Qt::SizeHorCursor
    to the default Qt::ArrowCursor it gives my the following warning:

    @QCursor::update: Invalid cursor shape 25@

    This is my system configuration:

    Ubuntu 11.04
    Kernel Linux 2.6.38-13-generic
    GNOME 2.32.1

    i tested the application with qt 4.7.4 and 4.8.1, but the cursor warnings are the same.
    Any ideas how to solve it?

    Regards,
    peter

    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