summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/unix/unixmake2.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index af0707441..e29ca16a3 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -1607,18 +1607,18 @@ UnixMakefileGenerator::writePkgConfigFile() // ### does make sense only for
libs << "QMAKE_LIBS"; //obvious one
if(project->isActiveConfig("thread"))
libs << "QMAKE_LFLAGS_THREAD"; //not sure about this one, but what about things like -pthread?
- t << "Libs: -L${libdir} -l" << lname.left(lname.length()-Option::libtool_ext.length()) << " ";
- for(TQStringList::ConstIterator it = libs.begin(); it != libs.end(); ++it)
- t << project->variables()[(*it)].join(" ") << " ";
+ t << "Libs: -L${libdir} -l" << lname.left(lname.length()-Option::libtool_ext.length());
+ // for(TQStringList::ConstIterator it = libs.begin(); it != libs.end(); ++it)
+ // t << project->variables()[(*it)].join(" ") << " ";
t << endl;
// flags
// ### too many
t << "Cflags: "
- // << var("QMAKE_CXXFLAGS") << " "
- << varGlue("PRL_EXPORT_DEFINES","-D"," -D"," ")
- << project->variables()["PRL_EXPORT_CXXFLAGS"].join(" ")
- // << varGlue("DEFINES","-D"," -D"," ")
- << " -I${includedir}";
+ // << var("QMAKE_CXXFLAGS") << " "
+ // << varGlue("PRL_EXPORT_DEFINES","-D"," -D"," ")
+ // << project->variables()["PRL_EXPORT_CXXFLAGS"].join(" ")
+ // << varGlue("DEFINES","-D"," -D"," ")
+ << "-DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}";
t << endl;
}