Support other platform names on configure.exe
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Fri, 8 Jun 2012 13:20:35 +0000 (15:20 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 12 Jun 2012 02:30:00 +0000 (04:30 +0200)
commitb87c5cff24229b1bcc77ac68699f2f03acabc9e7
treeb89e5bbc3e26033371c780b958405ee963c47127
parent8839109abe672107e763ebaceeaaa16d5bd6eefc
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 <oswald.buddenhagen@nokia.com>
tools/configure/configureapp.cpp
tools/configure/configureapp.h