PackageKit / PackageKit-Qt

Qt bindings for PackageKit
GNU Lesser General Public License v2.1
16 stars 17 forks source link

[qmake] Is building with qmake possible? #32

Open a-andreyev opened 4 years ago

a-andreyev commented 4 years ago

Hello! Is building with qmake possible?

I'm taking packagekit-qt5 package from manjaro/archlinux and trying to use it with cmake projects like kde's apper -- successfully.

And then trying qmake-based project with:

CONFIG += c++11 hide_symbols link_pkgconfig
PKGCONFIG += packagekitqt5
...

and getting compilation error about missing headers:

#include <packagekitqt_global.h>

The workaround is probably to change includes to "packagekitqt_global.h" but I'm not a pro with the build systems. Any hints what to check twice it's not my system env/compile flag problems?

a-andreyev commented 4 years ago

could be related to #26 somehow :thinking:

ximion commented 3 years ago

Yes, that pkg-config bug looks very much related. Do you have QPK 1.0.2 installed, which includes a fix for this issue?