summaryrefslogtreecommitdiffstats
path: root/plugins/plugins.pro
blob: 6d70b7ec2d3746a49636ee5a4a82a382e20f5001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!include( ../config.pri ) {
 error( "Couldn't find the config.pri file!" )
}

TEMPLATE = subdirs

contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\\..*) {
    warning("QtCommercial.Charts QML API requires at least Qt 4.7.4. You are using $${QT_VERSION} so the QML API is disabled.")
} else {
    contains(QT_VERSION, ^5\\..*\\..*$) {
        qtHaveModule(quick): SUBDIRS += quick2
        qtHaveModule(declarative): SUBDIRS += quick1
    } else {
        SUBDIRS += quick1
    }
}