PDA

View Full Version : qwtconfig.pri changes dont reflect in make for ARM



gautammorey
18th November 2009, 15:46
hi,

I am cross compilling qwt with qt 4.5.3. My problem is that whatever changes I made in the .pri file are not picked up by qmake for the -project option. I want to leave out the designer plugin,the svg renderer,etc from being compiled since they break the build and are not really essential anyways.

Is there any way to make sure qmake honors the changes in qwtconfig.pri?

Thanks,
Gautam

Uwe
19th November 2009, 07:04
qwtconfig.pri is for building Qwt itsself, but has nothing to do with the Makefile that is responsible for building your application.

"qmake -project" generates a default qmake project file, that is intended to be used as it is or as a starting point for manual optimization. In case of building Qwt itsself it doesn't make any sense to use this option, because the included project files are a much better starting point than auto generated ones.

Uwe

gautammorey
20th November 2009, 08:58
Thanks Uwe for the pointer. I did solve this one by using the .pro files with qmake inside the sub-folders that I wanted to compile rather than in the root folder.