qca now requires qt 4.2

svn path=/trunk/kdesupport/qca/; revision=658132
This commit is contained in:
Justin Karneges 2007-04-26 02:14:46 +00:00
parent 9d42916401
commit 1ed0de921c
2 changed files with 7 additions and 7 deletions

2
qca.qc
View File

@ -5,7 +5,7 @@
<libdir/>
<datadir/>
<moddir>.</moddir>
<dep type='qt41'>
<dep type='qt42'>
<required/>
</dep>
<dep type='extra'>

View File

@ -1,18 +1,18 @@
/*
-----BEGIN QCMOD-----
name: Qt >= 4.1
name: Qt >= 4.2
-----END QCMOD-----
*/
class qc_qt41 : public ConfObj
class qc_qt42 : public ConfObj
{
public:
qc_qt41(Conf *c) : ConfObj(c) {}
QString name() const { return "Qt >= 4.1"; }
QString shortname() const { return "qt41"; }
qc_qt42(Conf *c) : ConfObj(c) {}
QString name() const { return "Qt >= 4.2"; }
QString shortname() const { return "qt42"; }
bool exec()
{
conf->debug(QString("QT_VERSION = 0x%1").arg(QString::number(QT_VERSION, 16)));
if(QT_VERSION >= 0x040100)
if(QT_VERSION >= 0x040200)
return true;
else
return false;