Hi KDE developers,

I tried to use libpackagekit-qt2 for Qt5 project, but it segfault, gdb
bt info shown as below:

Program received signal SIGSEGV, Segmentation fault.
QList (this=0x603318) at /usr/include/qt4/QtCore/qlist.h:121
121 inline QList() : d(&QListData::shared_null) { d->ref.ref(); }
(gdb) bt
#0 QList (this=0x603318) at /usr/include/qt4/QtCore/qlist.h:121
#1 QStringList (this=0x603318) at /usr/include/qt4/QtCore/qstringlist.h:69
#2 PackageKit::DaemonPrivate::DaemonPrivate (this=0x603300, parent=0x6030a0)
at daemonprivate.cpp:31
#3 0x00007ffff7bc35bf in PackageKit::Daemon::Daemon (this=0x6030a0,
parent=<optimized out>)
at daemon.cpp:48
#4 0x00007ffff7bc3c12 in PackageKit::Daemon::global () at daemon.cpp:40
#5 0x00007ffff7bc3c42 in PackageKit::Daemon::backendName () at daemon.cpp:90

Then I argued libpackagekit-qt2 in PackageKit-0.7.6 is ONLY for Qt4?

When I git clone packagekit repos from
g...@gitorious.org:packagekit/packagekit.git I found the news: moved the
libpackagekit-qt code to a separate project (Richard Hughes) in 0.8.x
Why?! What happened? They fighted? Just kidding :)

So I google with the packagekit qt5 keywords, there is
https://github.com/nemomobile-packages/PackageKit-Qt porting to Qt5, but
I failed to build for Qt5.2.0
https://github.com/nemomobile-packages/PackageKit-Qt/issues/4

I am worrying what packagekit library I should use for Qt5 project, I am
even trying to use libpackagekit-glib2 in Qt5 project with #define
QT_NO_KEYWORDS macro, owing to GDBusInterfaceInfo conflict with Qt
signals...
How about KDE5 consider this issue? Please someone give some advice,
thanks a lot!

Regards,
Leslie Zhai

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to