PDA

View Full Version : PixMap XPM images NOT in .cpp fille ???



fassage
6th November 2009, 10:48
Hi All !!!

Im really getting frustrated by this issue. Unfortunately for the time being im using 3.1 because im forced to at work, but i will be testing this out later on this evening on Qt4.6 i assure you !

I am working on a Linux x64 Redhat 5 platform compiling TWO simple forms (form1.ui and form2.ui). Both forms contain identical pixmap XPM images both as a button and simple pixmap box.

Now heres the problem.....

When i compile them both form1.ui doesnt contain the xpm instatiation of the image whereas form2.cpp is a much MUCH bigger file containing each image.

static const char* const image0_data[] = {
"550 189 2 1",
"# c #808080",
". c #ffffff",
etc
etc

Can someone please tell me why the .cpp files are generated differently in qmake ?
Is there a way to control how it is created ?

Your assistance in this would be extremely appreciated.

Many thanks in advance

Fassage