qt5base-lts/tests/auto/other/atwrapper/atWrapper.pro
Oswald Buddenhagen 586adeabe4 add and use qtHaveModule() function
this is much more elegant than the so far propagated !isEmpty(QT.foo.name).
also replace feature-specific tests (no-gui and no-widgets) and the
obsolete contains(QT_CONFIG, foo) syntax.

Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2012-12-21 19:05:02 +01:00

22 lines
473 B
Prolog

ARTHUR=$$QT_SOURCE_TREE/tests/arthur
COMMON_FOLDER = $$ARTHUR/common
include($$ARTHUR/arthurtester.pri)
INCLUDEPATH += $$ARTHUR
DEFINES += SRCDIR=\\\"$$PWD\\\"
QT += xml svg network testlib
qtHaveModule(opengl): QT += opengl
include($$ARTHUR/datagenerator/datagenerator.pri)
CONFIG += testcase
HEADERS += atWrapper.h
SOURCES += atWrapperAutotest.cpp atWrapper.cpp
TARGET = tst_atwrapper
#include($$COMMON_FOLDER/common.pri)
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0