Fixed configure output when no platform plugin is enabled.
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 16 Apr 2012 06:47:39 +0000 (08:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 07:45:27 +0000 (09:45 +0200)
Instead of having to pass -no-xcb -no-eglfs -no-directfb, it's
better to pass -no-qpa-platform-guard which is also resilient
against future platform additions.

Change-Id: Id68bfe3688980fa273665b01b9332f5d6f359491
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Reviewed-by: Donald Carr <donald.carr@nokia.com>
configure

index 75e59f4..31d855a 100755 (executable)
--- a/configure
+++ b/configure
@@ -4695,8 +4695,8 @@ if [ "$BUILD_ON_MAC" = "no" ] && [ "$XPLATFORM_MINGW" = "no" ]; then
             ( [ "$ORIG_CFG_XCB" = "auto" ] || [ "$ORIG_CFG_EGLFS" = "auto" ] || [ "$ORIG_CFG_DIRECTFB" = "auto" ] ); then
         echo "No QPA platform plugin enabled!"
         echo " If you really want to build without a QPA platform plugin you must pass"
-        echo " -no-xcb, -no-eglfs and -no-directfb to configure. Doing this will"
-        echo " produce a Qt that cannot run GUI applications."
+        echo " -no-qpa-platform-guard to configure. Doing this will"
+        echo " produce a Qt that can not run GUI applications."
         echo " The dependencies needed for xcb to build are listed in"
         echo " src/plugins/platforms/xcb/README"
         exit 1