On 28/11/12 15:25, Sergey wrote:
> is there a way to find out total contents of QT_CONFIG, CONFIG qmake
> variables?

Yes...

> Are they arrays?

Yes...

> Can I somehow print their contents?

Yes.

> I know how to test, if config contains something, for example:
>
> contains(QT_CONFIG, system-zlib) : message("system-zlib")
>
> But how to print ALL CONTENTS of QT_CONFIG?

message(QT_CONFIG = $$QT_CONFIG)

However, qmake is a strictly imperative environment so it will print the 
value of QT_CONFIG at the time you hit the message() call. The value may 
be changed later.

You can run qmake -d -d -d and it will dump a (very verbose) log showing 
exactly when variables change. It includes the final value of all the 
variables at the end.

-- 
Link

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to