summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp')
-rw-r--r--tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp b/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
index 17716ff130..c8a12a9866 100644
--- a/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
+++ b/tests/auto/widgets/util/qundogroup/tst_qundogroup.cpp
@@ -201,7 +201,9 @@ private slots:
void deleteStack();
void checkSignals();
void addStackAndDie();
+#ifndef QT_NO_PROCESS
void commandTextFormat();
+#endif
};
tst_QUndoGroup::tst_QUndoGroup()
@@ -605,6 +607,7 @@ void tst_QUndoGroup::addStackAndDie()
delete stack;
}
+#ifndef QT_NO_PROCESS
void tst_QUndoGroup::commandTextFormat()
{
QString binDir = QLibraryInfo::location(QLibraryInfo::BinariesPath);
@@ -644,6 +647,7 @@ void tst_QUndoGroup::commandTextFormat()
qApp->removeTranslator(&translator);
}
+#endif
#else
class tst_QUndoGroup : public QObject