diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-17 12:16:44 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-18 10:32:29 +0200 |
commit | 8c5d903d9c7c3ffe1113609a712943fb7c7398ad (patch) | |
tree | bdcc63c6b36a9c09c7a11b9eafdf2018afa1c770 /tests | |
parent | db51bfb8553cec39caf5a17e82ff8e471718493f (diff) |
tst_examples: Remove dead code.
The test does no longer use external binaries.
Change-Id: Ic5fd4aceb62ea86011d469e25c6e3e27363b7855
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/examples/tst_examples.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index 2026a292..863dcd17 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -41,7 +41,6 @@ #include <qtest.h> #include <QLibraryInfo> #include <QDir> -#include <QProcess> #include <QDebug> #include "qmlruntime.h" #include <QDeclarativeView> @@ -64,7 +63,6 @@ private slots: void namingConvention(); private: - QString qmlruntime; QStringList excludedDirs; void namingConvention(const QDir &); @@ -73,17 +71,6 @@ private: tst_examples::tst_examples() { - QString binaries = QLibraryInfo::location(QLibraryInfo::BinariesPath); - -#if defined(Q_WS_MAC) - qmlruntime = QDir(binaries).absoluteFilePath("qml.app/Contents/MacOS/qml"); -#elif defined(Q_WS_WIN) - qmlruntime = QDir(binaries).absoluteFilePath("qml.exe"); -#else - qmlruntime = QDir(binaries).absoluteFilePath("qml"); -#endif - - // Add directories you want excluded here excludedDirs << "doc/src/snippets/declarative/visualdatamodel_rootindex"; excludedDirs << "doc/src/snippets/declarative/qtbinding"; |