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. [SOLVED]X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Qt 6.11 is out! See what's new in the release blog

[SOLVED]X Error: BadDrawable (invalid Pixmap or Window parameter) 9

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 38.8k 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.
  • M Offline
    M Offline
    mafiozzi
    wrote on last edited by
    #1

    Good day, everyone!
    Today I recompiled my app with Qt-4.8.1.
    App starts and in the output I see this:
    @
    X Error: BadDrawable (invalid Pixmap or Window parameter) 9
    Major opcode: 62 (X_CopyArea)
    Resource id: 0x0
    X Error: BadDrawable (invalid Pixmap or Window parameter) 9
    Major opcode: 62 (X_CopyArea)
    Resource id: 0x0
    @

    and all fonts looks very ugly and all the labels with Cyrillic letters are disappeared.

    When I compiled the some code with the Qt-4.7.4 - everything is fine!

    I downloaded this:
    Qt libraries 4.8.1 for Linux/X11 (229 MB) - file qt-everywhere-opensource-src-4.8.1.tar.gz

    OS: Linux debian 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux
    Qt Creator 2.4.1
    g++ (Debian 4.4.5-8) 4.4.5

    Please tell me what's my mistake.

    Thanks!

    You have exactly five minutes to win
    Or a lifetime to forget if you don't

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

      Try to compile 4.8.1 from GIT: git://gitorious.org/qt/qt there was BUGs reported for some Linux distros with exact the same errors

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mafiozzi
        wrote on last edited by
        #3

        AcerExtensa, thank you very much!!!
        Now I have Qt 4.8.2.
        Error has gone, but still no Cyrillic letters and all the fonts still looks very bad,
        and if QLineEdit has echoMode = Password
        when you type characters, there is a significant shift to the right.

        But this is not a problem. I understand, I have to check out for the new version from git://gitorious.org/qt/qt

        You have exactly five minutes to win
        Or a lifetime to forget if you don't

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sreeram
          wrote on last edited by
          #4

          Hi

          I am also getting same Message on command line while runnig Qt application in SUSE Linux Enterprise Desktop operating system.

          ERROR-:
          X Error: BadDrawable (invalid Pixmap or Window parameter) 9
          Major opcode: 62 (X_CopyArea)
          Resource id: 0x0

          I have compiled Qt-4.8.4 source code on SLED .while compile time i got errors like header files are missed this errors resolved by coping headers(Xlib.h,Xutil.h and Xos.h) in appropriate location(/usr/include/X11/). After that i am able to build Qt application with Qt-4.8.4 SDK and qtcrtetor-2.7.2.

          But while running qt-application i am getting above message in command line but application is running without any disturbance. This same application i have tested on Ubuntu-11.10 able to run using command line with out this message.

          ldd qtapplication showing like this

          linux-gate.so.1 => (0xffffe000)
          libQtGui.so.4 => /usr/local/Trolltech/Qt-4.8.4/lib/libQtGui.so.4 (0xb6c2d000)
          libQtCore.so.4 => /usr/local/Trolltech/Qt-4.8.4/lib/libQtCore.so.4 (0xb6924000)
          libpthread.so.0 => /lib/libpthread.so.0 (0xb68db000)
          libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb67ef000)
          libm.so.6 => /lib/libm.so.6 (0xb67c5000)
          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb67a7000)
          libc.so.6 => /lib/libc.so.6 (0xb6639000)
          librt.so.1 => /lib/librt.so.1 (0xb662f000)
          libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb661e000)
          libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb64ea000)
          libdl.so.2 => /lib/libdl.so.2 (0xb64e5000)
          /lib/ld-linux.so.2 (0xb7796000)
          libXau.so.6 => /usr/lib/libXau.so.6 (0xb64e1000)
          libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb64de000)
          libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb64c0000)

          Can you please help how to remove this message from command line while running my application??????

          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