diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-08-08 15:54:42 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-10 06:27:11 +0000 |
commit | e93c73c0aa15cd973e008a04a70a7c69719ad244 (patch) | |
tree | d7fa5c5b519acef6fbf234eedc9d87e9729d7538 | |
parent | 05b06e9ce410127fb7210ef00c0723e0bb1868b6 (diff) |
Fix compilation without QProcess supportv5.6.2
Change-Id: I85b2baec60f700a9246e6ce177e7079b8e791ad2
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r-- | tests/auto/styles/tst_styles.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/styles/tst_styles.cpp b/tests/auto/styles/tst_styles.cpp index b45366b6..99c48126 100644 --- a/tests/auto/styles/tst_styles.cpp +++ b/tests/auto/styles/tst_styles.cpp @@ -48,6 +48,7 @@ int main(int argc, char *argv[]) QCoreApplication app(argc, argv); +#ifndef QT_NO_PROCESS int failures = 0; int count = sizeof(styles) / sizeof(styles[0]); @@ -67,4 +68,7 @@ int main(int argc, char *argv[]) } return failures; +#else // QT_NO_PROCESS + return 0; +#endif // QT_NO_PROCESS } |