fix default platform plugin for windows using configure script
Follow-up to 0074cc5d34
.
The configure script can be used for cross-building for Windows on
unix.
Change-Id: Ie7f9d0ff308ad5763cdf7b2664fa255e89bd5013
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
This commit is contained in:
parent
4524187129
commit
ce6525efd8
4
configure
vendored
4
configure
vendored
@ -4749,7 +4749,9 @@ if [ -z "$QT_QPA_DEFAULT_PLATFORM" ]; then
|
||||
# check the mkspec
|
||||
QT_QPA_DEFAULT_PLATFORM=`getXQMakeConf QT_QPA_DEFAULT_PLATFORM`
|
||||
if [ -z "$QT_QPA_DEFAULT_PLATFORM" ]; then
|
||||
if [ "$BUILD_ON_MAC" = "yes" ]; then
|
||||
if [ "$XPLATFORM_MINGW" = "yes" ]; then
|
||||
QT_QPA_DEFAULT_PLATFORM="windows"
|
||||
elif [ "$BUILD_ON_MAC" = "yes" ]; then
|
||||
QT_QPA_DEFAULT_PLATFORM="cocoa"
|
||||
elif [ "$UNAME_SYSTEM" = "QNX" ]; then
|
||||
QT_QPA_DEFAULT_PLATFORM="qnx"
|
||||
|
Loading…
Reference in New Issue
Block a user