diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-18 09:58:16 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-18 10:46:40 +1000 |
commit | 089ad377510515a9499f390ef2e994d781dbe509 (patch) | |
tree | ce7067219f907ba94b314199bbaeb3f47b023634 /tests/auto/qaccessibility/qaccessibility.pro | |
parent | 7ef434c3a067168a0f370f836a0d6f6b28ad7d50 (diff) |
If accessibility isn't built, don't try to test it
Only build the autotest when the feature to be tested is in the Qt
build. This is better than building and running an empty test.
Change-Id: I67721f5f48296afcca64f761d12325f8e040f2d8
Reviewed-by: Rohan McGovern
(cherry picked from commit cf911bc0d297ed30e615fd115b0d3ae574cb2412)
Conflicts:
tests/auto/qaccessibility/tst_qaccessibility.cpp
Diffstat (limited to 'tests/auto/qaccessibility/qaccessibility.pro')
-rw-r--r-- | tests/auto/qaccessibility/qaccessibility.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qaccessibility/qaccessibility.pro b/tests/auto/qaccessibility/qaccessibility.pro index 21e286baea..75fd1e9793 100644 --- a/tests/auto/qaccessibility/qaccessibility.pro +++ b/tests/auto/qaccessibility/qaccessibility.pro @@ -1,4 +1,5 @@ load(qttest_p4) +requires(contains(QT_CONFIG,accessibility)) SOURCES += tst_qaccessibility.cpp unix:!mac:LIBS+=-lm |