Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 513404 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/core/CMakeLists.txt (+4 lines)
Lines 7-12 include_directories (${CMAKE_CURRENT_BINARY_DIR} Link Here
7
7
8
option (WITH_DBUS_LOADERS "Build D-Bus loaders on UNIX" OFF)
8
option (WITH_DBUS_LOADERS "Build D-Bus loaders on UNIX" OFF)
9
9
10
if (WITH_DBUS_LOADERS)
11
	add_definitions (-DWITH_DBUS_LOADERS)
12
endif ()
13
10
if (NOT USE_QT5)
14
if (NOT USE_QT5)
11
	if (WITH_DBUS_LOADERS)
15
	if (WITH_DBUS_LOADERS)
12
		set (QT_USE_QTDBUS TRUE)
16
		set (QT_USE_QTDBUS TRUE)
(-)a/src/core/pluginmanager.cpp (-3 / +5 lines)
Lines 56-64 Link Here
56
#include "shortcutmanager.h"
56
#include "shortcutmanager.h"
57
#include "application.h"
57
#include "application.h"
58
#include "loaders/sopluginloader.h"
58
#include "loaders/sopluginloader.h"
59
#ifdef Q_OS_LINUX
59
60
	#include "loaders/dbuspluginloader.h"
60
#ifdef WITH_DBUS_LOADERS
61
#include "loaders/dbuspluginloader.h"
61
#endif
62
#endif
63
62
#include "settingstab.h"
64
#include "settingstab.h"
63
65
64
namespace LeechCraft
66
namespace LeechCraft
Lines 985-991 namespace LeechCraft Link Here
985
987
986
	Loaders::IPluginLoader_ptr PluginManager::MakeLoader (const QString& filename)
988
	Loaders::IPluginLoader_ptr PluginManager::MakeLoader (const QString& filename)
987
	{
989
	{
988
#ifndef Q_OS_LINUX
990
#ifndef WITH_DBUS_LOADERS
989
		return Loaders::IPluginLoader_ptr (new Loaders::SOPluginLoader (filename));
991
		return Loaders::IPluginLoader_ptr (new Loaders::SOPluginLoader (filename));
990
#else
992
#else
991
		if (DBusMode_)
993
		if (DBusMode_)

Return to bug 513404