qt5base-lts/tests/auto/qaccessibility_mac/qaccessibility_mac.pro
Friedemann Kleint e39f50154f Tests: Add widgets module to profile.
Ensure the right test macro is run.

Change-Id: I84d58038f25b000c05fd52e8bda92e4484d53a6e
Reviewed-on: http://codereview.qt.nokia.com/3805
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-08-29 15:35:18 +02:00

24 lines
786 B
Prolog

CONFIG += qttest_p4
SOURCES += tst_qaccessibility_mac.cpp
TARGET = tst_qaccessibility_mac
RESOURCES = qaccessibility_mac.qrc
requires(mac)
# this setup should support both building as an autotest
# (where uilib isn't built by default), and when running shadow
# builds (where QTDIR points to the build directory).
# autotest + shadow build is not supported :)
exists($$(QTDIR)/tools/designer/src/lib/uilib/uilib.pri) {
include($$(QTDIR)/tools/designer/src/lib/uilib/uilib.pri, "", true)
INCLUDEPATH += $$(QTDIR)/tools/designer/src/uitools
SOURCES += $$(QTDIR)/tools/designer/src/uitools/quiloader.cpp
HEADERS += $$(QTDIR)/tools/designer/src/uitools/quiloader.h
} else {
CONFIG += uitools
}
QT += xml widgets
LIBS += -framework ApplicationServices -framework Carbon