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

Latest commit

 

History

History
66 lines (56 loc) · 1.85 KB

src.pro

File metadata and controls

66 lines (56 loc) · 1.85 KB
 
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
12
# version for generated pkgconfig files is defined in the spec file
13
14
15
16
17
QMAKE_PKGCONFIG_INCDIR = $$PREFIX/include/$${PACKAGENAME}
QMAKE_PKGCONFIG_LIBDIR = $$PREFIX/lib
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
CONFIG += link_pkgconfig
18
19
20
21
22
packagesExist(mlite5) {
PKGCONFIG += mlite5
DEFINES += HAS_MLITE
} else {
warning("mlite not available. Some functionality may not work as expected.")
24
PKGCONFIG += mlocale5 mce
25
26
27
DEFINES += CONTACTCACHE_BUILD
28
29
30
31
# We need access to QtContacts private headers
QT += contacts-private
# We need the moc output for ContactManagerEngine from sqlite-extensions
32
extensionsIncludePath = $$system(pkg-config --cflags-only-I qtcontacts-sqlite-qt5-extensions)
33
34
35
VPATH += $$replace(extensionsIncludePath, -I, )
HEADERS += contactmanagerengine.h
41
$$PWD/seasidecontactbuilder.cpp \
46
47
$$PWD/contactcacheexport.h \
$$PWD/seasidecache.h \
50
$$PWD/seasidecontactbuilder.h \
51
$$PWD/synchronizelists.h \
54
55
headers.files = \
57
58
$$PWD/contactcacheexport.h \
$$PWD/seasidecache.h \
61
$$PWD/seasidecontactbuilder.h \
62
$$PWD/synchronizelists.h \
65
66
headers.path = $$PREFIX/include/$$TARGET
INSTALLS += headers