libqt5-qtbase/qmake-add-usr-include.diff
2013-10-01 06:13:11 +00:00

12 lines
633 B
Diff

--- qtbase/qmake/generators/unix/unixmake2.cpp 2012/08/30 12:10:34 1.1
+++ qtbase/qmake/generators/unix/unixmake2.cpp 2012/08/30 12:10:41
@@ -126,7 +126,7 @@
<< varGlue("DEFINES","-D"," -D","") << endl;
t << "CFLAGS = " << var("QMAKE_CFLAGS") << " $(DEFINES)" << endl;
t << "CXXFLAGS = " << var("QMAKE_CXXFLAGS") << " $(DEFINES)" << endl;
- t << "INCPATH = " << "-I" << specdir();
+ t << "INCPATH = " << "-I/usr/include -I" << specdir();
if(!project->isActiveConfig("no_include_pwd")) {
QString pwd = escapeFilePath(fileFixify(qmake_getpwd()));
if(pwd.isEmpty())