diff options
author | Marcin Zdunek <marcin.zdunek@siili.com> | 2023-08-01 15:00:35 +0200 |
---|---|---|
committer | Marcin Zdunek <marcin.zdunek@siili.com> | 2023-08-24 08:04:01 +0000 |
commit | c00951c6c2851c3d62ddda5267fb29c49023872e (patch) | |
tree | 47e8186eea01f235fdfc5bc759c0687da78cd237 | |
parent | d8f7b887540d376b134a6f730ab4e68c0505f13c (diff) |
Fix tst_qprinterinfo.cpp not compiling on Vxworks
Neither fork() nor execvp exist on Vxworks so they should not be used
Task-number: QTBUG-115777
Change-Id: I6de4e9ec67741466de1b1f4bd89d9c962e539bb8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp b/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp index 44ef264c67..17ad693e2d 100644 --- a/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp +++ b/tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp @@ -8,7 +8,7 @@ #include <algorithm> -#if defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY) +#if defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY) && !defined(Q_OS_VXWORKS) # include <unistd.h> # include <sys/types.h> # include <sys/wait.h> |