From: Stephen Kelly Date: Thu, 26 Jul 2012 07:48:15 +0000 (+0200) Subject: Remove some dead QWS code from configure. X-Git-Tag: v5.0.0-beta1~450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=187ea846a6e63797e9f56e579d58b9fa4db2b113;p=profile%2Fivi%2Fqtbase.git Remove some dead QWS code from configure. Change-Id: Ic1b47533e3f04cebaac83ca632068c2e791a846c Reviewed-by: Oswald Buddenhagen --- diff --git a/configure b/configure index 63e3b4c..6eb700d 100755 --- a/configure +++ b/configure @@ -5711,7 +5711,7 @@ if [ "$CFG_DEV" = "yes" ]; then fi # Add QPA to config.h -QCONFIG_FLAGS="$QCONFIG_FLAGS Q_WS_QPA QT_NO_QWS_QPF QT_NO_QWS_QPF2" +QCONFIG_FLAGS="$QCONFIG_FLAGS Q_WS_QPA" if [ "${CFG_USE_FLOATMATH}" = "yes" ]; then QCONFIG_FLAGS="${QCONFIG_FLAGS} QT_USE_MATH_H_FLOATS" diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 382c836..087863f 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -1520,7 +1520,6 @@ void Configure::applySpecSpecifics() dictionary[ "MOUSE_DRIVERS" ] = "pc linuxtp"; dictionary[ "OPENGL" ] = "no"; dictionary[ "DBUS"] = "no"; - dictionary[ "QT_QWS_DEPTH" ] = "4 8 16 24 32"; dictionary[ "QT_INOTIFY" ] = "no"; dictionary[ "QT_CUPS" ] = "no"; dictionary[ "QT_GLIB" ] = "no"; @@ -3186,40 +3185,6 @@ void Configure::generateConfigfiles() for (int i = 0; i < qconfigList.count(); ++i) tmpStream << addDefine(qconfigList.at(i)); - if (dictionary["EMBEDDED"] == "yes") - { - // Check for keyboard, mouse, gfx. - QStringList kbdDrivers = dictionary["KBD_DRIVERS"].split(" ");; - QStringList allKbdDrivers; - allKbdDrivers<<"tty"<<"usb"<<"sl5000"<<"yopy"<<"vr41xx"<<"qvfb"<<"um"; - foreach (const QString &kbd, allKbdDrivers) { - if (!kbdDrivers.contains(kbd)) - tmpStream<<"#define QT_NO_QWS_KBD_"<