Oswald Buddenhagen wrote:

> src/corelib/corelib.pro:
> 
> ...
> MODULE_CONFIG += qtcore_insanity

I must have done something wrong, because this addition gave me a QtCore with 
the additional module included. It's not supposed to be added to Qt libraries.

> user_project.pro:
> 
> ...
> CONFIG += qtcore_be_insane

This seems to work, even without the change to corelib.pro above. I'd have 
preferred to link in a binary object rather than an additional source file, but 
the end result should be the same.

Now, to figure out if I need to add a corresponding change to some CMake file 
to 
make the CONFIG option available via CMake too (if, and how).

Thanks!

R.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to