~ubuntu-branches/ubuntu/dapper/psi/dapper

« back to all changes in this revision

Viewing changes to qcm/qt31.qcm

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2004-06-15 00:10:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040615001041-enywb6pcpe4sjsw6
Tags: 0.9.2-1
* New upstream release
* Set KDEDIR for ./configure so kde specific files get installed
* Don't install libpsiwidgets.so. It got installed in /usr/share
  where it doesn't belong. May be included (at a better location)
  later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
};