Skip to content

Commit

Permalink
[buteo-sync-plugin-carddav] Include/Link to QtContacts-private. Contr…
Browse files Browse the repository at this point in the history
…ibutes to MER#1842
  • Loading branch information
Chris Adams committed Dec 19, 2017
1 parent 897d1b0 commit d15e6cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/buteo-sync-plugin-carddav.spec
Expand Up @@ -83,7 +83,7 @@ This package contains unit tests for the CardDAV Buteo sync plugin.
%setup -q -n %{name}-%{version}

%build
%qmake5 "DEFINES+=BUTEO_OUT_OF_PROCESS_SUPPORT" "CONFIG+=build-tools"
%qmake5 "DEFINES+=BUTEO_OUT_OF_PROCESS_SUPPORT" "CONFIG+=build-tools" "CONFIG+=qt-contacts-private"
make %{?jobs:-j%jobs}

%pre
Expand Down
4 changes: 4 additions & 0 deletions src/src.pri
@@ -1,6 +1,10 @@
QT -= gui
QT += network dbus

CONFIG(qt-contacts-private) {
QT += contacts-private
}

CONFIG += link_pkgconfig console c++11
PKGCONFIG += buteosyncfw5 libsignon-qt5 accounts-qt5
PKGCONFIG += Qt5Versit Qt5Contacts qtcontacts-sqlite-qt5-extensions
Expand Down

0 comments on commit d15e6cd

Please sign in to comment.