PDA

View Full Version : GUI problem in Qt application



mahiapkum
26th March 2007, 12:19
Hi all,
I have a GUI application developed using Qt in linux and when i run it i ocassionally get below error, the application does not quit.It keeps on giving the below error.
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 59
Minor opcode: 0
Resource id: 0x0
Pls help me.
Thanks in advance

vermarajeev
26th March 2007, 13:12
Hi all,
I have a GUI application developed using Qt in linux and when i run it i ocassionally get below error, the application does not quit.It keeps on giving the below error.
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 59
Minor opcode: 0
Resource id: 0x0
Pls help me.
Thanks in advance

Please provide more details about how you are getting those errors...

mahiapkum
26th March 2007, 14:19
I have created a QTable object on the form and i set the cells with some text.While running the application, the set text becomes darker(than normal) and at this point i get the above mentioned error.I also saw the file /usr/include/X11/Xproto.h which says a major opcode of 59 indicates some (X_SetClipRectangles)what is this???can u pls explain.:(
Thanx in advance.....

jacek
26th March 2007, 14:44
Do you use threads?

mahiapkum
26th March 2007, 14:55
No i am not using threads.........

jacek
26th March 2007, 15:00
Which Qt version do you use?

wysota
26th March 2007, 15:04
Could you provide a minimal compilable example reproducing the problem?

mahiapkum
26th March 2007, 15:07
3.3.3 version

jacek
26th March 2007, 18:03
3.3.3 version
This is quite old version, so if this is a problem with Qt, then it might have been already solved. If you can't test your application with Qt 3.3.8, then try to prepare a minimal compilable example as suggested.