path: root/tools/configure/configureapp.h
diff options
authorRafael Roquetto <>2012-06-08 15:20:35 +0200
committerQt by Nokia <>2012-06-12 04:30:00 +0200
commitb87c5cff24229b1bcc77ac68699f2f03acabc9e7 (patch)
treeb89e5bbc3e26033371c780b958405ee963c47127 /tools/configure/configureapp.h
parent8839109abe672107e763ebaceeaaa16d5bd6eefc (diff)
Support other platform names on configure.exe
Added three new methods, which are meant to be used internally to configureapp.cpp: - int platform(): returns an integer representing a platform - QString platformName(): returns the platform name string to be used when displaying the license agreement. - QString qpaPlatformName(): returns the value to be defined as QT_QPA_DEFAULT_PLATFORM_NAME. Currently supported names are Windows, Windows CE, QNX and Blackberry. Default is "Windows". Change-Id: Ifa4d1b9c02cda956be9becdf8db195d3d494f1d5 Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'tools/configure/configureapp.h')
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/configure/configureapp.h b/tools/configure/configureapp.h
index 42068e77b4..4ac0736a2c 100644
--- a/tools/configure/configureapp.h
+++ b/tools/configure/configureapp.h
@@ -104,6 +104,11 @@ public:
ProjectType projectType( const QString& proFileName );
bool isDone();
bool isOk();
+ int platform() const;
+ QString platformName() const;
+ QString qpaPlatformName() const;
// Our variable dictionaries
QMap<QString,QString> dictionary;