PDA

View Full Version : Qt4.8.0 and Qjoypad issues



Juancho
7th August 2012, 02:50
Hello:

I'm posting because I've compiled the "qt-everywhere-opensource-src-4.8.0" tarball with no problems in Ubuntu Jaunty for a i386. My objective was top compile the Qjoypad-4.1.0 program to control the mouse with a usb joystick. The program is supposed to load a tray icon on the gnome panel. I once compiled qjoypad with the binaries packages of Qt4 installed from the ubuntu repositories but this time I wanted to compile qt from source hoping it would be better. But not only the tray icon doesn't load but also the Qt graphic interface looks bad.

If I execute qjoypad from a terminal this is what I get:

juan@acer:~$ qjoypad
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 56 (X_ChangeGC)
Resource id: 0x0
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: 55 (X_CreateGC)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 70 (X_PolyFillRectangle)
Resource id: 0x0
X Error: BadGC (invalid GC parameter) 13
Major opcode: 59 (X_SetClipRectangles)
Resource id: 0x3400011
X Error: BadGC (invalid GC parameter) 13
Major opcode: 56 (X_ChangeGC)
Resource id: 0x3400011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 70 (X_PolyFillRectangle)
Resource id: 0x0
X Error: BadGC (invalid GC parameter) 13
Major opcode: 60 (X_FreeGC)
Resource id: 0x3400011
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 62 (X_CopyArea)
Resource id: 0x3400002
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 56 (X_ChangeGC)
Resource id: 0x0
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: 55 (X_CreateGC)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 70 (X_PolyFillRectangle)
Resource id: 0x0
X Error: BadGC (invalid GC parameter) 13
Major opcode: 59 (X_SetClipRectangles)
Resource id: 0x3400018
X Error: BadGC (invalid GC parameter) 13
Major opcode: 56 (X_ChangeGC)
Resource id: 0x3400018
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 70 (X_PolyFillRectangle)
Resource id: 0x0
X Error: BadGC (invalid GC parameter) 13
Major opcode: 60 (X_FreeGC)
Resource id: 0x3400018
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 62 (X_CopyArea)
Resource id: 0x3400002
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 56 (X_ChangeGC)
Resource id: 0x0
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: 55 (X_CreateGC)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 70 (X_PolyFillRectangle)
Resource id: 0x0
X Error: BadGC (invalid GC parameter) 13
Major opcode: 59 (X_SetClipRectangles)
Resource id: 0x340001f
X Error: BadGC (invalid GC parameter) 13
Major opcode: 56 (X_ChangeGC)
Resource id: 0x340001f
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 70 (X_PolyFillRectangle)
Resource id: 0x0
X Error: BadGC (invalid GC parameter) 13
Major opcode: 60 (X_FreeGC)
Resource id: 0x340001f
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 62 (X_CopyArea)
Resource id: 0x3400002

I hope I was clear and I hope somebody could help me.

sonulohani
7th August 2012, 09:56
Then what help do you want from this?

Juancho
7th August 2012, 10:04
Then what help do you want from this?

Right, sorry. I want to know how to make the Qjoypad tray icon to load properly and to fix the crappy fonts that I get in the Qjoypad interface. The tray icon issue may be caused by the old gnome-panel version that I have, so now I'm trying to compile a new version. But I don't understand why if compiled a newer Qt version, fonts look so bad.

UPDATE!: and answering to my self. I found some info in http://qjoypad.sourceforge.net/doc/c113.html that says I can run qjoypad with a floating tray icon. So I did it with "qjoypad --notray" and I get an icon at least. I think i'm posting this in the wrong place though, since this is not a development issue.