summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/windows.pro
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-11-04 14:36:28 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-04 15:58:17 +0100
commit5a67cd24955da6c3ac27cbbd5e08cf9ce9fa88b9 (patch)
tree575dc1cf31891faa68a13848a16bf40ba3ec7e1b /src/plugins/platforms/windows/windows.pro
parent35f56b0cf97a9cc39ef4cdbedc9f502ffcc61ea1 (diff)
Windows: Add dialog helpers for native dialogs.
Implement QPlatformDialogHelper for file dialogs based on IFileDialog. Add prototypical implementation of color dialogs. Change-Id: If3c7470be6c0b8fbf8cfea1b6638bda43afafea7 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
Diffstat (limited to 'src/plugins/platforms/windows/windows.pro')
-rw-r--r--src/plugins/platforms/windows/windows.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro
index 17bcae58eb..627df4ab8e 100644
--- a/src/plugins/platforms/windows/windows.pro
+++ b/src/plugins/platforms/windows/windows.pro
@@ -69,6 +69,12 @@ HEADERS += \
qwindowsinputcontext.h \
qwindowsaccessibility.h
+# Dialog helper: Should be used only if QtWidgets is built
+QT *= widgets
+HEADERS += qwindowsdialoghelpers.h
+SOURCES += qwindowsdialoghelpers.cpp
+LIBS += -lshlwapi -lShell32
+
contains(QT_CONFIG, freetype) {
DEFINES *= QT_NO_FONTCONFIG
DEFINES *= QT_COMPILES_IN_HARFBUZZ