|
Last change
on this file since 176 was 2, checked in by dmik, 19 years ago |
|
Imported original Psi 0.10 sources from Affinix
|
|
File size:
396 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | -----BEGIN QCMOD-----
|
|---|
| 3 | name: Qt >= 3.1
|
|---|
| 4 | -----END QCMOD-----
|
|---|
| 5 | */
|
|---|
| 6 | class qc_qt31 : public ConfObj
|
|---|
| 7 | {
|
|---|
| 8 | public:
|
|---|
| 9 | qc_qt31(Conf *c) : ConfObj(c) {}
|
|---|
| 10 | QString name() const { return "Qt >= 3.1"; }
|
|---|
| 11 | QString shortname() const { return "qt31"; }
|
|---|
| 12 | bool exec()
|
|---|
| 13 | {
|
|---|
| 14 | if(QT_VERSION >= 0x030100) {
|
|---|
| 15 | if(QT_VERSION < 0x030300)
|
|---|
| 16 | conf->addExtra("QXML_STATIC = Y");
|
|---|
| 17 | return true;
|
|---|
| 18 | }
|
|---|
| 19 | else
|
|---|
| 20 | return false;
|
|---|
| 21 | }
|
|---|
| 22 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.