diff options
-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 } |