summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-05-19 10:04:15 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-05-19 10:55:19 (GMT)
commit071709fb6f3988f29767074c759436cccb33bcc7 (patch)
treec0dd22b52e8f625ae2408dc4a20cd4c057de80f4 /tests/auto
parentcf427e8dcbfc63cbad67117d2da6d554aea495a9 (diff)
downloadQt-071709fb6f3988f29767074c759436cccb33bcc7.zip
Qt-071709fb6f3988f29767074c759436cccb33bcc7.tar.gz
Qt-071709fb6f3988f29767074c759436cccb33bcc7.tar.bz2
qmake autotest: Remove dependency on Qt3 Support on Windows
Reviewed-by: jbache
Diffstat (limited to 'tests/auto')
-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 122a2b8..7255d93 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