Qt5 Port Status

Boudewijn Rempt boud at valdyas.org
Sat Mar 21 10:01:27 UTC 2015


After a lot of frustration, koplugin now builds and links. That means that 
we can start porting the rest of the libraries. I'll begin with pigment.

Here are my notes:

Documentation:

http://www.proli.net/2014/06/21/porting-your-project-to-qt5kf5/
https://community.kde.org/Frameworks/Porting_Notes
http://vizzzion.org/blog/2013/08/kde-frameworks-5-plugin-factory-guts
http://quickgit.kde.org/?p=kdelibs.git&a=blob&h=bbc1c41b06b780301f0b890dcb79831b900dde86&f=KDE5PORTING.html&o=plain#kdecore
https://techbase.kde.org/Development/ECM_SourceIncompatChanges

I usually had to google for specific changes, too. We're still using 
kdelibs4support and I want to go on using that during the initial port, 
but some of the scripts I ran conflict with that. For instance, if 
#include <KGlobal> has been removed, we might have to restore it.

Note that you cannot have both a kde4 and a kf5 development system unless 
you do some weird stuff. I found opensuse 13.2 the easiest platform to 
setup, even so, it took quite a bit of effort to get all the kf5 libraries 
installed with their devel packages.

I'm cribbing from Kate, mostly, where the existing documentation is 
insufficient.

An important note, somewhat hidden in the porting guide, is that instead 
of using include_directories to include Qt and KF5 includes, it's the 
target_link_ line that addes the include directories.

Boudewijn


More information about the kimageshop mailing list