qt5base-lts/tests/auto/qwidget/qwidget.pro
Rohan McGovern fda40e37df tests: fix private header inclusion in qtbase autotests
Any test which needs private headers from some Qt module must do:

  QT += modulename-private

Reviewed-by: Jason McDonald
Change-Id: I6924a577a960e4990f4379b02bca4822d8248fb4
2011-05-11 17:04:19 +10:00

30 lines
587 B
Prolog

load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qwidget.cpp
RESOURCES = qwidget.qrc
contains(QT_CONFIG, qt3support): QT += qt3support
contains(QT_CONFIG, qt3support):DEFINES+=QT_HAS_QT3SUPPORT
aix-g++*:QMAKE_CXXFLAGS+=-fpermissive
CONFIG += x11inc
mac {
LIBS += -framework Security -framework AppKit -framework Carbon
OBJECTIVE_SOURCES += tst_qwidget_mac_helpers.mm
}
x11 {
LIBS += $$QMAKE_LIBS_X11
}
symbian {
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
LIBS += -leikcore -lcone -leikcoctl
}
!wince*:!symbian:win32: LIBS += -luser32 -lgdi32