diff options
author | axis <qt-info@nokia.com> | 2010-03-15 14:41:32 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-03-15 16:01:58 (GMT) |
commit | 1c8b5d83301455b8dabb9674503bb0990ca50909 (patch) | |
tree | f295bc4094da432bc1ea7eb4c83974cfeb02c355 /mkspecs | |
parent | c75ffa607d036cb54663984e03af58108ab98757 (diff) | |
download | Qt-1c8b5d83301455b8dabb9674503bb0990ca50909.zip Qt-1c8b5d83301455b8dabb9674503bb0990ca50909.tar.gz Qt-1c8b5d83301455b8dabb9674503bb0990ca50909.tar.bz2 |
Moved UID2 processing from cpp code to profiles.
This enables it to be used by all Symbian build systems.
RevBy: Miikka Heikkinen
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/symbian/default_post.prf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/default_post.prf b/mkspecs/features/symbian/default_post.prf index ed90e3c..d29e460 100644 --- a/mkspecs/features/symbian/default_post.prf +++ b/mkspecs/features/symbian/default_post.prf @@ -31,3 +31,18 @@ contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG,qt) { } isEmpty(TARGET.UID3):TARGET.UID3 = $$generate_uid("$${OUT_PWD}/$${TARGET}") +isEmpty(TARGET.UID2) { + contains(CONFIG, stdbinary) { + TARGET.UID2 = 0x20004C45 + } else { + contains(TEMPLATE, app) { + contains(QT, gui) { + TARGET.UID2 = 0x100039CE + } else { + TARGET.UID2 = 0 + } + } else:contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) { + TARGET.UID2 = 0x1000008d + } + } +} |