Skip to content
This repository was archived by the owner on Feb 2, 2019. It is now read-only.

Commit 310cb3a

Browse files
committed
link packagekit via pkconfig and add pkconfig to include path.
For some reason pkgconfig returns the wrong include path so I added the include path direct.
1 parent 3b456fe commit 310cb3a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ornplugin.pro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
TEMPLATE = lib
22
TARGET = ornplugin
33
QT += qml quick
4-
CONFIG += qt plugin static c++11
4+
5+
CONFIG += qt plugin static c++11 link_pkgconfig
56
CONFIG(release, debug|release): DEFINES += QT_NO_DEBUG_OUTPUT
67
VERSION = 0.1
7-
88
TARGET = $$qtLibraryTarget($$TARGET)
9+
PKGCONFIG+= packagekitqt5
10+
INCLUDEPATH+= /usr/include/packagekitqt5/
911

1012
uri = harbour.orn
1113

src/ornzypp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <QObject>
55
#include <QSet>
66

7-
#include <PackageKit/packagekit-qt5/Transaction>
7+
#include <PackageKit/Transaction>
88

99
class QDBusPendingCallWatcher;
1010
class QQmlEngine;

0 commit comments

Comments
 (0)