diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-26 02:08:18 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-26 02:08:18 (GMT) |
commit | cde378d2fd716b1853e780fb9db30b38dad4a854 (patch) | |
tree | f3f49bb37b5dc7569fdb2059fc87705738c772d1 /qmake | |
parent | bf340b9ee5058a64e1655c8d3f5089e02c431d22 (diff) | |
parent | 853ccf8e41b328ef277acad463c3028b5cd2d391 (diff) | |
download | Qt-cde378d2fd716b1853e780fb9db30b38dad4a854.zip Qt-cde378d2fd716b1853e780fb9db30b38dad4a854.tar.gz Qt-cde378d2fd716b1853e780fb9db30b38dad4a854.tar.bz2 |
Merge branch 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration
* 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration: (168 commits)
Remove enums from bitfield, since all compilers do not support them.
Don't circumvent onDestruction handlers when clearing expression in delegate cleanup
Fix responseText to check the charset encoding field and also to not
Re-insert and emit the correct NOTIFY signals following the removal
Fix poor flicking behavior with slower flicks.
Alignment of shadow for rich text is broken when using text styles
typo
Setting one dimension of the sourceSize should set the other dimension.
Document calling QObject methods from QML in Extending QML in C++ docs.
Stabilize tst_qgraphicsscene
QDeclarativeDebug: send a message when new object are added
QDeclarativeEngineDebugServer: make it a singleton.
Fixed compile error in runonphone.
Fix mispositioned text with QStaticText and OpenVG graphics system
Use binarysort to find items.
Use QImage 'convertInPlace' versions in QVGPixmapData load functions.
QGraphicsView: Fix assert that may occurs if there are 'empty' item to draw, and changed() signal connected
Added an install target to runonphone.
Fix tst_Collections::QTBUG13079_collectionInsideCollection
Fix few declarative code issues discovered by static code analysis
...
Diffstat (limited to 'qmake')
-rw-r--r-- | qmake/generators/makefile.cpp | 7 | ||||
-rw-r--r-- | qmake/generators/symbian/initprojectdeploy_symbian.cpp | 6 | ||||
-rw-r--r-- | qmake/generators/win32/mingw_make.cpp | 5 |
3 files changed, 10 insertions, 8 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 74c7977..49fc3e7 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -471,9 +471,9 @@ MakefileGenerator::init() subs.at(i).toLatin1().constData()); continue; } - QFile in(fileFixify(subs.at(i))), out(fileInfo(subs.at(i)).fileName()); - if(out.fileName().endsWith(".in")) - out.setFileName(out.fileName().left(out.fileName().length()-3)); + QFile in(fileFixify(subs.at(i))); + QFile out(fileFixify(subs.at(i).left(subs.at(i).length()-3), + qmake_getpwd(), Option::output_dir)); if(in.open(QFile::ReadOnly)) { QString contents; QStack<int> state; @@ -538,6 +538,7 @@ MakefileGenerator::init() continue; } } + mkdir(QFileInfo(out).absolutePath()); if(out.open(QFile::WriteOnly)) { v["QMAKE_INTERNAL_INCLUDED_FILES"].append(subs.at(i)); out.write(contents.toUtf8()); diff --git a/qmake/generators/symbian/initprojectdeploy_symbian.cpp b/qmake/generators/symbian/initprojectdeploy_symbian.cpp index 382e012..776a646 100644 --- a/qmake/generators/symbian/initprojectdeploy_symbian.cpp +++ b/qmake/generators/symbian/initprojectdeploy_symbian.cpp @@ -353,7 +353,11 @@ void initProjectDeploySymbian(QMakeProject* project, CopyItem &item = i.next(); QFileInfo fromItem(item.from); QFileInfo toItem(item.to); - if (fromItem == toItem) +#if defined(Q_OS_WIN) + if (0 == fromItem.absoluteFilePath().compare(toItem.absoluteFilePath(), Qt::CaseInsensitive)) +#else + if (0 == fromItem.absoluteFilePath().compare(toItem.absoluteFilePath())) +#endif i.remove(); } } diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index 5685d6b..4717542 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -191,10 +191,7 @@ void createArObjectScriptFile(const QString &fileName, const QString &target, co QTextStream t(&file); t << "CREATE " << target << endl; for (QStringList::ConstIterator it = objList.constBegin(); it != objList.constEnd(); ++it) { - if (QDir::isRelativePath(*it)) - t << "ADDMOD " << *it << endl; - else - t << *it << endl; + t << "ADDMOD " << *it << endl; } t << "SAVE" << endl; t.flush(); |