View Issue Details

IDProjectCategoryView StatusLast Update
0000730ScribusGeneralpublic2004-05-29 14:26
Reportercbradney Assigned Tofschmid  
Status closedResolutionno change required 
PlatformAthlon XP 2600+ 1gb ramOSGentoo LinuxOS VersionUp to date
Summary0000730: QApplication::setColorSpec needs to be called before QApplication in main.cpp
DescriptionIve just started to get this appearing on cmd line:
"QApplication::setColorSpec: This function must be called before the QApplication object is created"
Additional Information
TagsNo tags attached.


related to 0003813 acknowledged Metabug: Scripter 



2004-05-28 23:01

administrator   ~0001619

It would seem that this is brought on by running PyQt scripts within Scripter.
This needs to be done to the qApp object for Scripter too.


2004-05-28 23:02

administrator   ~0001620

I assume you have tried the PyQt example Craig Ringer has created, comment out the line containing that Function and it should work.


2004-05-28 23:44

administrator   ~0001621

Yes, I tried this.. and I see this is the cause.. but dont the Qt docs indicate this is required to be run?


2004-05-29 14:24

administrator   ~0001622

A plugin isn't allowed to call this function, calling this function is only allowed at application startup before a application object is created. And since a plugin has the same application object as the main application you can't call that function in a plugin. BTW: calling that function is not really needed.

Issue History

Date Modified Username Field Change
2004-05-28 22:50 cbradney New Issue
2004-05-28 23:01 cbradney Note Added: 0001619
2004-05-28 23:02 fschmid Note Added: 0001620
2004-05-28 23:44 cbradney Note Added: 0001621
2004-05-29 14:24 fschmid Note Added: 0001622
2004-05-29 14:25 fschmid Status assigned => resolved
2004-05-29 14:25 fschmid Resolution open => not fixable
2004-05-29 14:26 cbradney Status resolved => feedback
2004-05-29 14:26 cbradney Resolution not fixable => reopened
2004-05-29 14:26 cbradney Status feedback => resolved
2004-05-29 14:26 cbradney Resolution reopened => no change required
2004-05-29 14:26 cbradney Status resolved => closed
2006-05-13 21:57 christoph_s Relationship added related to 0003813