Navigation Menu

Skip to content

Commit

Permalink
[qtcontacts-sqlite] Don't link against QtGui unnecessarily. Contribut…
Browse files Browse the repository at this point in the history
…es to JB#36025
  • Loading branch information
adenexter committed Dec 11, 2018
1 parent babb97a commit af621b0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion rpm/qtcontacts-sqlite-qt5.spec
Expand Up @@ -7,7 +7,6 @@ License: BSD
URL: https://git.merproject.org/mer-core/qtcontacts-sqlite
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Contacts)
Expand Down
2 changes: 1 addition & 1 deletion src/engine/contactsdatabase.cpp
Expand Up @@ -36,7 +36,7 @@

#include <QContactGender>

#include <QDesktopServices>
#include <QStandardPaths>
#include <QDir>
#include <QElapsedTimer>
#include <QFile>
Expand Down
2 changes: 1 addition & 1 deletion src/engine/engine.pro
Expand Up @@ -3,7 +3,7 @@ include(../../config.pri)
TEMPLATE = lib
TARGET = qtcontacts_sqlite

QT += sql dbus
QT = core sql dbus

CONFIG += plugin hide_symbols
PLUGIN_TYPE=contacts
Expand Down
4 changes: 3 additions & 1 deletion tests/benchmarks/deltadetection/deltadetection.pro
Expand Up @@ -3,7 +3,9 @@ include(../../../config.pri)
TEMPLATE = app
TARGET = deltadetection

QT += testlib
QT = \
core \
testlib

SOURCES = main.cpp deltasyncadapter.cpp
HEADERS = deltasyncadapter.h ../../../src/extensions/contactmanagerengine.h
Expand Down
2 changes: 2 additions & 0 deletions tests/benchmarks/fetchtimes/fetchtimes.pro
Expand Up @@ -3,6 +3,8 @@ include(../../../config.pri)
TEMPLATE = app
TARGET = fetchtimes

QT = core

SOURCES = main.cpp

target.path = /opt/tests/qtcontacts-sqlite-qt5
Expand Down
4 changes: 3 additions & 1 deletion tests/common.pri
@@ -1,6 +1,8 @@
include(../config.pri)

QT += testlib
QT = \
core \
testlib
TEMPLATE = app
CONFIG -= app_bundle

Expand Down

0 comments on commit af621b0

Please sign in to comment.