diff options
author | Bernd Weimer <bweimer@blackberry.com> | 2014-01-29 13:43:03 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-14 10:51:44 +0100 |
commit | fa8e6d5083a01667bd5bdd3450ca5f883a068d10 (patch) | |
tree | 5d53093345fade60146d66d28a4437d23617ae9b /configure | |
parent | 85e576535c9c39756ecaddefa245f71fb35b8589 (diff) |
QNX: Add support for lgmon
Added configure test, whether lgmon (liquid graphics performance monitor)
is available. The test is supposed to be positive only for internal
BlackBerry NDKs currently.
Added calls to initialize lgmon and to indicate when an app is ready for
user input.
Change-Id: I5cbc29fb38a86585dcebd14d462436deaa1998aa
Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -633,6 +633,7 @@ CFG_STACK_PROTECTOR_STRONG=auto CFG_SLOG2=auto CFG_PPS=auto CFG_QNX_IMF=auto +CFG_LGMON=auto CFG_SYSTEM_PROXIES=no # Target architecture @@ -1800,6 +1801,13 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; + lgmon) + if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then + CFG_LGMON="$VAL" + else + UNKNOWN_OPT=yes + fi + ;; gtkstyle) if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then CFG_QGTKSTYLE="$VAL" @@ -2502,6 +2510,9 @@ QNX/Blackberry options: -no-imf ............ Do not compile with imf support. -imf ............... Compile with imf support. + -no-lgmon .......... Do not compile with lgmon support. + -lgmon ............. Compile with lgmon support. + MacOS/iOS options: -Fstring ........... Add an explicit framework path. @@ -4416,6 +4427,15 @@ if [ "$XPLATFORM_QNX" = "yes" ]; then CFG_PPS=no fi fi + + if [ "$CFG_LGMON" != "no" ]; then + if compileTest unix/lgmon "lgmon"; then + CFG_LGMON=yes + QMAKE_CONFIG="$QMAKE_CONFIG lgmon" + else + CFG_LGMON=no + fi + fi fi if [ "$CFG_ZLIB" = "auto" ]; then @@ -6841,6 +6861,7 @@ if [ "$XPLATFORM_QNX" = "yes" ]; then report_support " SLOG2 .................." "$CFG_SLOG2" report_support " IMF ...................." "$CFG_QNX_IMF" report_support " PPS ...................." "$CFG_PPS" + report_support " LGMON .................." "$CFG_LGMON" fi report_support " SQL drivers:" report_support " DB2 .................." "$CFG_SQL_db2" plugin "plugin" yes "built into QtSql" |