Results 1 to 9 of 9

Thread: GUI problem in Qt application

  1. #1
    Join Date
    Mar 2007
    Location
    Bangalore
    Posts
    21
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default GUI problem in Qt application

    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

  2. #2
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GUI problem in Qt application

    Quote Originally Posted by mahiapkum View Post
    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...

  3. #3
    Join Date
    Mar 2007
    Location
    Bangalore
    Posts
    21
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: GUI problem in Qt application

    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.....

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GUI problem in Qt application

    Do you use threads?

  5. #5
    Join Date
    Mar 2007
    Location
    Bangalore
    Posts
    21
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: GUI problem in Qt application

    No i am not using threads.........

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GUI problem in Qt application

    Which Qt version do you use?

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: GUI problem in Qt application

    Could you provide a minimal compilable example reproducing the problem?

  8. #8
    Join Date
    Mar 2007
    Location
    Bangalore
    Posts
    21
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: GUI problem in Qt application

    3.3.3 version

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GUI problem in Qt application

    Quote Originally Posted by mahiapkum View Post
    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.

Similar Threads

  1. GPRA application problem?
    By mellibra in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th December 2006, 06:37
  2. Basic: problem building designer application
    By kingslee in forum Qt Tools
    Replies: 2
    Last Post: 31st August 2006, 15:26
  3. Problem in creating thread in GUI application
    By jyoti kumar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2006, 12:05
  4. Replies: 10
    Last Post: 28th April 2006, 15:48
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.