Results 1 to 2 of 2

Thread: openSUSE 11.4 - Qt 4.7.4 - X Error: BadMatch

  1. #1
    Join Date
    Oct 2011
    Location
    Dover, NH
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default openSUSE 11.4 - Qt 4.7.4 - X Error: BadMatch

    Hey All;
    This is my first post, so Hi! I'm very new to Qt, and Linux and what do you know one of my work tasks has been to get one of our larger projects from Windows to OpenSUSE 11.4 ( using qt 4.7.4 ). Unfortunately I don't have anyone in my office that's an expert on either, and searching online has proven not much for me to work with. Does anyone know what exactly this error means

    X Error: BadMatch (invalid parameter attributes) 8
    Major opcode: 62 (X_CopyArea)
    Resource id: 0x2e002c

    This seems to happen after I call "exec" on my QApplication. When the application starts and those errors are printed my trayIcon for my application is wrong, using whatever was there before. Does anyone have any suggestions to where I should be looking for such a thing? I can't post much ( if any ) code, which I agree is not helpful at all.

    ---

    Qt Code:
    1. myTrayIcon = new QSystemTrayIcon( this );
    2. myTrayIcon->setContextMenu( myMenu );
    3. myTrayIcon->setIcon( theTrayIcon );
    4. myTrayIcon->setToolTip( tr("System Tray") );
    5. myTrayIcon->show();
    To copy to clipboard, switch view to plain text mode 

    Looking into this more, my QSystemTrayIcon when I set the Icon to something different ( that works on other screens I can confirm ) it still shows that error and the incorrect graphic. Removing the "show" certainly makes the issue go away so I've narrowed it down to the correct widget.


    Any suggestions will be helpful.

    Thanks,
    Last edited by Uziel; 21st October 2011 at 22:03. Reason: updated contents

  2. #2
    Join Date
    Oct 2011
    Location
    Dover, NH
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: openSUSE 11.4 - Qt 4.7.4 - X Error: BadMatch

    I ended up figuring this out. Looks like there was a patch to fix this issue, rebuilding with the Qt patch has resolve this issue.

Similar Threads

  1. Installing qt-mobility 1.2 on OpenSuse 11.2 (64 bit)
    By TheIndependentAquarius in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 17th May 2011, 11:30
  2. Qt with OpenSuse
    By Noks in forum Newbie
    Replies: 3
    Last Post: 20th January 2010, 14:44
  3. How to install MinGW in OpenSuSE???
    By vincat in forum Installation and Deployment
    Replies: 2
    Last Post: 17th June 2009, 08:14
  4. Error: BadMatch --> what's it?
    By mattia in forum Newbie
    Replies: 4
    Last Post: 9th June 2008, 12:20
  5. Qt4 Designer in openSUSE 10.3
    By BrainFreeze in forum Qt Tools
    Replies: 6
    Last Post: 4th February 2008, 20:09

Tags for this Thread

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.