4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-09 17:29:33 +00:00

Fix generation of QCA pkgconfig file.

Make them depend on QtCore or QtCore_debug instead of qt-mt.


svn path=/trunk/kdesupport/qca/; revision=507921
This commit is contained in:
Michaël Larouche 2006-02-10 13:16:35 +00:00
parent b930e3f961
commit 24a47957e1

@ -40,6 +40,7 @@ public:
).arg(QLibraryInfo::location(QLibraryInfo::DataPath));
conf->addExtra(str);
QString qtcore = qc_getenv("QC_DEBUG") == "Y" ? QString("QtCore_debug") : QString("QtCore");
// write pkg-config file
str = QString(
"prefix=%1\n"
@ -50,11 +51,11 @@ public:
"Name: QCA\n"
"Description: Qt Cryptographic Architecture library\n"
"Version: 2.0.0 #maybe this shouldn't be literal...\n"
"Requires: qt-mt\n"
"Requires: %2\n"
"Libs: -L${libdir} -lqca\n"
"Cflags: -I${includedir}\n"
"\n"
).arg(prefix);
).arg(prefix).arg(qtcore);
f.setFileName("qca.pc");
if(f.open(QFile::WriteOnly | QFile::Truncate))