mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 20:44:31 +00:00
qca now requires qt 4.2
svn path=/trunk/kdesupport/qca/; revision=658132
This commit is contained in:
parent
9d42916401
commit
1ed0de921c
2
qca.qc
2
qca.qc
@ -5,7 +5,7 @@
|
||||
<libdir/>
|
||||
<datadir/>
|
||||
<moddir>.</moddir>
|
||||
<dep type='qt41'>
|
||||
<dep type='qt42'>
|
||||
<required/>
|
||||
</dep>
|
||||
<dep type='extra'>
|
||||
|
@ -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;
|
Loading…
x
Reference in New Issue
Block a user