Den 16-01-2014 14:42, Guido Seifert skrev:
> Hi,
> when I use cmake I can create a file config.h.in, which contains
> things like:
> #define Version "@VERSION@"
>
> in the CMakeLists.txt I can define a variable:
> SET(VERSION "something")
> and add:
>
> configure_file (
>    "config.h.in"
> )
>
> This creates a config.h with #define Version "something".
>
> Question is, can I do the same with qmake? How?

As someone already told you, no this can't be done. But instead of doing 
a python script or some other home grown system, you might want to take 
a look at qbs.

Bo.

-- 
Bo Thorsen, European Engineering Manager, ICS
Integrated Computer Solutions. Delivering World-Class Applications
http://ics.com/services
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to