diff options
author | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2019-07-09 14:53:29 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2019-07-10 22:20:41 +0900 |
commit | ca6a037d95ed1915773bf28f9190a012164c6443 (patch) | |
tree | 5d78bd0b97bfd7f79bc5d82d235f66bb62c45e0f /src/testlib | |
parent | eb48b3c0e18d071bce73e58a82e31a1437b11f4b (diff) |
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestblacklist.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testlib/qtestblacklist.cpp b/src/testlib/qtestblacklist.cpp index 6642699758..596788e297 100644 --- a/src/testlib/qtestblacklist.cpp +++ b/src/testlib/qtestblacklist.cpp @@ -169,12 +169,14 @@ static QSet<QByteArray> keywords() #endif ; +#if QT_CONFIG(properties) QCoreApplication *app = QCoreApplication::instance(); if (app) { const QVariant platformName = app->property("platformName"); if (platformName.isValid()) set << platformName.toByteArray(); } +#endif return set; } |