mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 12:04:31 +00:00
21 lines
404 B
Plaintext
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;
|
|
}
|
|
};
|