Skip to content

Commit

Permalink
[filemanager] Don't link to QtGui unnecessarily. Contributes to JB#36025
Browse files Browse the repository at this point in the history
  • Loading branch information
adenexter committed Dec 11, 2018
1 parent 37c5aa7 commit e0eb7e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion rpm/nemo-qml-plugin-filemanager.spec
Expand Up @@ -8,7 +8,6 @@ URL: https://git.merproject.org/mer-core/nemo-qml-plugin-filemanager
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Test)
Expand Down
4 changes: 3 additions & 1 deletion src/daemon/daemon.pro
@@ -1,7 +1,9 @@
TEMPLATE = app
TARGET = fileoperationsd

QT += dbus
QT = \
core \
dbus
CONFIG += c++11

CONFIG += link_pkgconfig link_prl
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/filemodel.cpp
Expand Up @@ -34,9 +34,9 @@

#include <QDateTime>
#include <QDebug>
#include <QGuiApplication>
#include <QMimeType>
#include <QQmlInfo>
#include <QTimerEvent>

#include <unistd.h>

Expand Down
6 changes: 5 additions & 1 deletion src/plugin/plugin.pro
Expand Up @@ -3,7 +3,11 @@ PLUGIN_IMPORT_PATH = Nemo/FileManager

TEMPLATE = lib
CONFIG += qt plugin hide_symbols c++11
QT += qml dbus concurrent
QT = \
core \
concurrent \
dbus \
qml

CONFIG += link_pkgconfig

Expand Down

0 comments on commit e0eb7e1

Please sign in to comment.