Do not compile _win files when -qpa is used

Reviewed-by: Samuel
Reviewed-by: Lars Knoll
This commit is contained in:
Olli Werwolff 2011-06-08 11:46:12 +02:00
parent a844e23607
commit aecd41c070
4 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ contains(QT_CONFIG, accessibility) {
HEADERS += accessible/qaccessible_mac_p.h
OBJECTIVE_SOURCES += accessible/qaccessible_mac.mm \
accessible/qaccessible_mac_cocoa.mm
} else:win32 {
} else:win32:!qpa {
SOURCES += accessible/qaccessible_win.cpp
} else {
HEADERS += accessible/qaccessiblebridge.h

View File

@ -11,7 +11,7 @@ x11 {
HEADERS += inputmethod/qximinputcontext_p.h
SOURCES += inputmethod/qximinputcontext_x11.cpp
}
win32 {
win32:!qpa {
HEADERS += inputmethod/qwininputcontext_p.h
SOURCES += inputmethod/qwininputcontext_win.cpp
}

View File

@ -71,9 +71,9 @@ SOURCES += \
kernel/qguiplatformplugin.cpp \
kernel/qwidgetsvariant.cpp
win32 {
DEFINES += QT_NO_DIRECTDRAW
win32: DEFINES += QT_NO_DIRECTDRAW
win32:!qpa {
HEADERS += \
kernel/qwinnativepangesturerecognizer_win_p.h

View File

@ -29,7 +29,7 @@ SOURCES += \
wince* {
SOURCES += \
util/qsystemtrayicon_wince.cpp
} else:win32 {
} else:win32:!qpa {
SOURCES += \
util/qsystemtrayicon_win.cpp
}