summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmake
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-05-19 12:04:15 +0200
committerJoão Abecasis <joao@abecasis.name>2009-05-19 12:55:19 +0200
commit071709fb6f3988f29767074c759436cccb33bcc7 (patch)
treec0dd22b52e8f625ae2408dc4a20cd4c057de80f4 /tests/auto/qmake
parentcf427e8dcbfc63cbad67117d2da6d554aea495a9 (diff)
qmake autotest: Remove dependency on Qt3 Support on Windows
Reviewed-by: jbache
Diffstat (limited to 'tests/auto/qmake')
-rw-r--r--tests/auto/qmake/testcompiler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/qmake/testcompiler.cpp b/tests/auto/qmake/testcompiler.cpp
index 122a2b8217..7255d93aaf 100644
--- a/tests/auto/qmake/testcompiler.cpp
+++ b/tests/auto/qmake/testcompiler.cpp
@@ -56,10 +56,8 @@ static QString targetName( BuildType buildMode, const QString& target, const QSt
targetName.append(".exe");
break;
case Dll: // dll
- if (version != "") {
- QStringList ver = QStringList::split(".", version);
- targetName.append(ver.first());
- }
+ if (!version.empty())
+ targetName.append(version.section(".", 0, 0));
targetName.append(".dll");
break;
case Lib: // lib