qca/qt41.qcm
Justin Karneges a74ec89f36 output version in hex instead of decimal
svn path=/trunk/kdesupport/qca/; revision=525847
2006-04-03 00:56:42 +00:00

21 lines
404 B
Plaintext

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