Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Latest commit

 

History

History
74 lines (64 loc) · 2 KB

src.pro

File metadata and controls

74 lines (64 loc) · 2 KB
 
Jul 16, 2013
Jul 16, 2013
1
2
3
4
5
6
7
8
9
10
11
include(../config.pri)
TEMPLATE = lib
CONFIG += qt hide_symbols
CONFIG += create_pc create_prl no_install_prl
# 'contacts' is too generic for the target name - use 'contactcache'
TARGET = $${PACKAGENAME}
target.path = $$PREFIX/lib
INSTALLS += target
Aug 6, 2013
Aug 6, 2013
12
# set version for generated pkgconfig files
Oct 21, 2013
Oct 21, 2013
13
VERSION=0.0.38
Jul 16, 2013
Jul 16, 2013
14
15
16
17
18
19
20
21
22
23
24
25
QMAKE_PKGCONFIG_INCDIR = $$PREFIX/include/$${PACKAGENAME}
QMAKE_PKGCONFIG_LIBDIR = $$PREFIX/lib
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
CONFIG += link_pkgconfig
equals(QT_MAJOR_VERSION, 4) {
packagesExist(mlite) {
PKGCONFIG += mlite
DEFINES += HAS_MLITE
} else {
warning("mlite not available. Some functionality may not work as expected.")
}
Dec 10, 2013
Dec 10, 2013
26
PKGCONFIG += mce
Jul 16, 2013
Jul 16, 2013
27
28
29
30
31
32
33
34
}
equals(QT_MAJOR_VERSION, 5) {
packagesExist(mlite5) {
PKGCONFIG += mlite5
DEFINES += HAS_MLITE
} else {
warning("mlite not available. Some functionality may not work as expected.")
}
Dec 10, 2013
Dec 10, 2013
35
PKGCONFIG += mlocale5 mce
Jul 16, 2013
Jul 16, 2013
36
37
38
39
}
DEFINES += CONTACTCACHE_BUILD
Dec 10, 2013
Dec 10, 2013
40
41
42
43
44
45
46
47
48
49
50
51
52
# We need access to QtContacts private headers
QT += contacts-private
# We need the moc output for ContactManagerEngine from sqlite-extensions
equals(QT_MAJOR_VERSION, 4) {
extensionsIncludePath = $$system(pkg-config --cflags-only-I qtcontacts-sqlite-extensions)
}
equals(QT_MAJOR_VERSION, 5) {
extensionsIncludePath = $$system(pkg-config --cflags-only-I qtcontacts-sqlite-qt5-extensions)
}
VPATH += $$replace(extensionsIncludePath, -I, )
HEADERS += contactmanagerengine.h
Jul 16, 2013
Jul 16, 2013
53
SOURCES += \
Sep 9, 2013
Sep 9, 2013
54
$$PWD/seasidecache.cpp \
Oct 21, 2013
Oct 21, 2013
55
$$PWD/seasideimport.cpp \
Dec 4, 2013
Dec 4, 2013
56
$$PWD/seasidepropertyhandler.cpp
Jul 16, 2013
Jul 16, 2013
57
58
59
60
HEADERS += \
$$PWD/contactcacheexport.h \
$$PWD/seasidecache.h \
Oct 21, 2013
Oct 21, 2013
61
$$PWD/seasideimport.h \
Aug 7, 2013
Aug 7, 2013
62
$$PWD/synchronizelists.h \
Sep 9, 2013
Sep 9, 2013
63
$$PWD/seasidenamegrouper.h \
Dec 4, 2013
Dec 4, 2013
64
$$PWD/seasidepropertyhandler.h
Jul 16, 2013
Jul 16, 2013
65
66
67
68
headers.files = \
$$PWD/contactcacheexport.h \
$$PWD/seasidecache.h \
Oct 21, 2013
Oct 21, 2013
69
$$PWD/seasideimport.h \
Aug 7, 2013
Aug 7, 2013
70
$$PWD/synchronizelists.h \
Sep 9, 2013
Sep 9, 2013
71
$$PWD/seasidenamegrouper.h \
Dec 4, 2013
Dec 4, 2013
72
$$PWD/seasidepropertyhandler.h
Jul 16, 2013
Jul 16, 2013
73
74
headers.path = $$PREFIX/include/$$TARGET
INSTALLS += headers