PDA

View Full Version : QApplication Arguments



ToddAtWSU
27th January 2011, 17:34
I am working on a piece of software that runs on Solaris 10. The systems it runs on have 4, independent desktops, 1 desktop on each monitor. This system is running in 8-bit color to support legacy software. In my .csh file to run my application, I pass in the argument
-visual TrueColor. The documentation says to pass this argument in to force TrueColor on your application in an 8-bit environment. This does color stealing, but is acceptable in order for us to run these new applications simultaneously with the legacy software.

The issue I am having is when I make all my displays come up on the monitor running the main application, they work just fine. But when I use the QDesktopWidget to allow the various screens to appear on the different desktops, my TrueColor fails. Is there a way to tell each independent desktop that my application is running with the TrueColor argument so the color stealing will work properly on all 4 desktops?

Thanks for your help!
Todd