File qmake-add-usr-include.diff of Package libqt5-qtbase

--- 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())
openSUSE Build Service is sponsored by