2011-01-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
[WebKit-https.git] / WebKit.pri
index 1fd26c6..b0b0f32 100644 (file)
@@ -109,3 +109,30 @@ contains(DEFINES, QT_NO_UITOOLS): CONFIG -= uitools
 # disabled in WebKitLibraries/win/tools/vsprops/common.vsprops
 win32-msvc*|wince*: QMAKE_CXXFLAGS += -wd4291 -wd4344 -wd4396 -wd4503 -wd4800 -wd4819 -wd4996
 
+CONFIG(qt_minimal) {
+    DEFINES *= QT_NO_ANIMATION
+    DEFINES *= QT_NO_BEARERMANAGEMENT
+    DEFINES *= QT_NO_CLIPBOARD
+    DEFINES *= QT_NO_COMBOBOX
+    DEFINES *= QT_NO_CRASHHANDLER
+    DEFINES *= QT_NO_CURSOR
+    DEFINES *= QT_NO_DESKTOPSERVICES
+    DEFINES *= QT_NO_FILEDIALOG
+    DEFINES *= QT_NO_GRAPHICSEFFECT
+    DEFINES *= QT_NO_IM
+    DEFINES *= QT_NO_INPUTDIALOG
+    DEFINES *= QT_NO_LINEEDIT
+    DEFINES *= QT_NO_MESSAGEBOX
+    DEFINES *= QT_NO_OPENSSL
+    DEFINES *= QT_NO_PRINTER
+    DEFINES *= QT_NO_QUUID_STRING
+    DEFINES *= QT_NO_SHORTCUT
+    DEFINES *= QT_NO_STYLE_STYLESHEET
+    DEFINES *= QT_NO_SYSTEMTRAYICON
+    DEFINES *= QT_NO_TEMPORARYFILE
+    DEFINES *= QT_NO_TOOLTIP
+    DEFINES *= QT_NO_UITOOLS
+    DEFINES *= QT_NO_UNDOCOMMAND
+    DEFINES *= QT_NO_UNDOSTACK
+    DEFINES *= QT_NO_XRENDER
+}