Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    X Error: BadCursor

    General and Desktop
    1
    1
    2397
    Loading More Posts
    • 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
      iam_peter last edited by

      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 Reply Quote 0
      • First post
        Last post