aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Hills <chaz@chaz6.com>2009-08-27 13:01:16 +0200
committerChris Hills <chaz@chaz6.com>2009-08-27 13:01:16 +0200
commit5242336237e970c2f47f31f6e941073317775279 (patch)
tree414b89cd9f06c07a13560ae4bffca1070ee1d74b
parent66b4e57c4c48cfe730dce2671eca25f3434d13a6 (diff)
Re-order include path for using non-system Qt libraries
-rw-r--r--apiextractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp
index d257b07f5..66426e922 100644
--- a/apiextractor.cpp
+++ b/apiextractor.cpp
@@ -185,9 +185,9 @@ static bool preprocess(const QString& sourceFile,
preprocess.operator()(ba.constData(), ba.constData() + ba.size(), null_out);
preprocess.push_include_path(".");
- preprocess.push_include_path("/usr/include");
foreach (QString include, includes)
preprocess.push_include_path(QDir::convertSeparators(include).toStdString());
+ preprocess.push_include_path("/usr/include");
QString currentDir = QDir::current().absolutePath();
QFileInfo sourceInfo(sourceFile);