SOURCES += io/qsettings_mac.cpp
}
macx-*: {
- SOURCES += io/qstandardpaths_mac.cpp
+ contains(QT_CONFIG, coreservices) {
+ SOURCES += io/qstandardpaths_mac.cpp
+ } else {
+ SOURCES += io/qstandardpaths_unix.cpp
+ }
} else:standardpathsjson {
SOURCES += io/qstandardpaths_json.cpp
} else:blackberry {
integrity:SOURCES += kernel/qdnslookup_unix.cpp kernel/qhostinfo_unix.cpp kernel/qnetworkinterface_unix.cpp
mac:LIBS_PRIVATE += -framework SystemConfiguration -framework CoreFoundation -framework CoreServices
-mac:SOURCES += kernel/qnetworkproxy_mac.cpp
+mac:contains(QT_CONFIG, coreservices):SOURCES += kernel/qnetworkproxy_mac.cpp
else:win32:SOURCES += kernel/qnetworkproxy_win.cpp
else:SOURCES += kernel/qnetworkproxy_generic.cpp
-mac {
+mac:contains(QT_CONFIG, coreservices) {
INCLUDEPATH += $$PWD
HEADERS += \
contains(QT_CONFIG,opengles2) {
- HEADERS += \
- $$PWD/qeglconvenience_p.h \
- $$PWD/qeglplatformcontext_p.h
- SOURCES += \
- $$PWD/qeglconvenience.cpp \
- $$PWD/qeglplatformcontext.cpp
+ contains(QT_CONFIG,egl) {
+ HEADERS += \
+ $$PWD/qeglconvenience_p.h \
+ $$PWD/qeglplatformcontext_p.h
+ SOURCES += \
+ $$PWD/qeglconvenience.cpp \
+ $$PWD/qeglplatformcontext.cpp
+ }
contains(QT_CONFIG,xlib) {
HEADERS += \
SUBDIRS += xcb
}
-mac {
- SUBDIRS += cocoa
-}
+mac:contains(QT_CONFIG, coreservices): SUBDIRS += cocoa
win32: SUBDIRS += windows
styles = mac windows windowsxp windowsvista
}
-!macx-*:styles -= mac
+!macx-*|!contains(QT_CONFIG, coreservices):styles -= mac
x11{
QMAKE_CXXFLAGS += $$QT_CFLAGS_QGTKSTYLE