summaryrefslogtreecommitdiffstats
path: root/qtmimetypes.pro
blob: 5beb5f4ae1a6cd88fa14ec0401c189e0c092dc0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include(mimetypes-nolibs.pri)
include(doc/doc.pri)

# check qt version
greaterThan(QT_MAJOR_VERSION, 4) {
    message("Cannot build with Qt version $${QT_VERSION}.")
    message("With Qt5 use QtCore/QMimeType instead")
    error("Qt $${QT_VERSION} not supported")
}

TEMPLATE = subdirs

module_include.subdir = include
module_include.target = module_include

module_src.subdir = src
module_src.target = module_src
module_src.depends = module_include

module_tests.file = tests/tests.pro
module_tests.target = module_tests
module_tests.depends = module_src

module_examples.file = examples/examples.pro
module_examples.target = module_examples
module_examples.depends = module_src

exists(include/include.pro): SUBDIRS += module_include
exists(src/src.pro): SUBDIRS += module_src
exists(tests/tests.pro): SUBDIRS += module_tests
exists(examples/examples.pro): SUBDIRS += module_examples