Commit c93c67ac authored by Carsten Munk's avatar Carsten Munk

[connectionagent] Boost connectionagent

Signed-off-by: default avatarCarsten Munk <carsten.munk@jollamobile.com>
parent 9b1817f8
[Unit]
Description=Connection Agent
Requires=dbus.service
After=pre-user-session.target
Requires=dbus.service booster-qt5.service
After=pre-user-session.target booster-qt5.service
[Service]
EnvironmentFile=-/etc/tracing/connectionagent/connectionagent.tracing
ExecStart=/usr/bin/connectionagent $TRACING
ExecStart=/usr/bin/invoker -o --type=qt5 /usr/bin/connectionagent $TRACING
Type=dbus
BusName=com.jolla.Connectiond
Restart=always
......
......@@ -4,6 +4,13 @@ QT = core network dbus
TARGET = connectionagent
PKGCONFIG += connman-qt5 qofono-qt5
packagesExist(qt5-boostable) {
DEFINES += HAS_BOOSTER
PKGCONFIG += qt5-boostable
} else {
warning("qt5-boostable not available; startup times will be slower")
}
CONFIG += console link_pkgconfig
CONFIG -= app_bundle
......
......@@ -87,7 +87,7 @@ void messageOutput(QtMsgType type, const QMessageLogContext &context, const QStr
previousMessageHandler(type,context,str);
}
int main(int argc, char *argv[])
Q_DECL_EXPORT int main(int argc, char *argv[])
{
previousMessageHandler = qInstallMessageHandler(messageOutput);
......
......@@ -22,6 +22,7 @@ BuildRequires: pkgconfig(qofono-qt5)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(qt5-boostable)
Provides: connectionagent > 0.10.1
Obsoletes: connectionagent <= 0.7.6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment