View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000730 | Scribus | General | public | 2004-05-28 22:50 | 2004-05-29 14:26 | 
| Reporter | cbradney | Assigned To | fschmid | ||
| Priority | normal | Severity | trivial | Reproducibility | always | 
| Status | closed | Resolution | no change required | ||
| Platform | Athlon XP 2600+ 1gb ram | OS | Gentoo Linux | OS Version | Up to date | 
| Summary | 0000730: QApplication::setColorSpec needs to be called before QApplication in main.cpp | ||||
| Description | Ive just started to get this appearing on cmd line: "QApplication::setColorSpec: This function must be called before the QApplication object is created"  | ||||
| Additional Information | http://doc.trolltech.com/3.2/qapplication.html#ColorSpec-enum | ||||
| Tags | No tags attached. | ||||
| Patch | |||||
| related to | 0003813 | acknowledged | Metabug: Scripter | 
| 
		 | 
	
	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.  | 
| 
		 | 
	I assume you have tried the PyQt example Craig Ringer has created, comment out the line containing that Function and it should work. | 
| 
		 | 
	Yes, I tried this.. and I see this is the cause.. but dont the Qt docs indicate this is required to be run? | 
| 
		 | 
	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. | 
| 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 |