Qt5 Port Status
Boudewijn Rempt
boud at valdyas.org
Sat Mar 21 10:03:21 UTC 2015
Oh, another note:
the kde-dev-scripts allow us to port kDebug(AREA) to qcDebug() _but_ it
doesn't support sharing the same area across different libraries, which is
something we do a lot in Calligra. We have three options: remove all the
areas (as I did in koplugin), make areas per library or create a new
library that has all the areas we use in Calligra. Or a combination...
On Sat, 21 Mar 2015, Boudewijn Rempt wrote:
> 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
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
More information about the kimageshop
mailing list