summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-22 17:30:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-31 17:37:42 +0900
commitc489c62c1713924c29e560cd2ebd36b006c14a11 (patch)
treef6bb895dc2d9c278309e434f4d46f3ec32aba0d9 /qmake/generators
parent69e1261df646edf24612d7f953dac81182e7461b (diff)
downloadtqt3-c489c62c1713924c29e560cd2ebd36b006c14a11.tar.gz
tqt3-c489c62c1713924c29e560cd2ebd36b006c14a11.zip
Update tqt-mt.pc to export the same parameters previously exported in tqt.pc and tqtqui.pc.
Required to drop tqtinterface. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qmake/generators')
-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;
}