summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-08-31 01:46:11 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-08-31 01:46:11 (GMT)
commit1e48d40597bbe12321a5a3e42b3595dc17a7f8e7 (patch)
tree16bc5824f55124f1be742cc5c3f55f94e223fee1 /qmake
parentc57195dc899ca732083487ed069ef813c340c0b5 (diff)
parente95de30977291a251660f72baa84b5ff244711fb (diff)
downloadQt-1e48d40597bbe12321a5a3e42b3595dc17a7f8e7.zip
Qt-1e48d40597bbe12321a5a3e42b3595dc17a7f8e7.tar.gz
Qt-1e48d40597bbe12321a5a3e42b3595dc17a7f8e7.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: don't crash when destroying the shortcuts Disable activeqt on win32-g++ (it doesn't build). fix warning remove unused functions Make the DBus timeout configurable in QDBusAbstractInterface. Fix a typo in qt-conf docs. Revert "Fix build with the Clang compiler" Added missing no_include_pwd check Replace 'i < len-1 && func(i+1)' by 'i+1 < len && func(i+1)' Fix build with the Clang compiler Change spacing of title in offline style. Add support for rawFonts loaded from data in FaceId examples: fix compilation with namespaced Qt. Russian translation update Update Japanese translations for Qt 4.8. directfb: Include directfbgl.h directly tests: fix QNetworkProxyFactory test don't detach until the list is going to be modified optimize QList::removeAll()
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/makefile.cpp2
-rw-r--r--qmake/generators/makefiledeps.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 00f6b4a..eda489f 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -784,7 +784,7 @@ MakefileGenerator::init()
(*it) = Option::fixPathToLocalOS((*it));
}
- { //get the output_dir into the pwd
+ if(!project->isActiveConfig("no_include_pwd")) { //get the output_dir into the pwd
if(Option::output_dir != qmake_getpwd())
project->values("INCLUDEPATH").append(".");
}
diff --git a/qmake/generators/makefiledeps.cpp b/qmake/generators/makefiledeps.cpp
index d6dab0b..f9cbed1 100644
--- a/qmake/generators/makefiledeps.cpp
+++ b/qmake/generators/makefiledeps.cpp
@@ -499,7 +499,7 @@ bool QMakeSourceFileInfo::findDeps(SourceFile *file)
} else if(*(buffer+x) == '*') { //c style comment
for(++x; x < buffer_len; ++x) {
if(*(buffer+x) == '*') {
- if(x < buffer_len-1 && *(buffer + (x+1)) == '/') {
+ if(x+1 < buffer_len && *(buffer + (x+1)) == '/') {
++x;
break;
}