This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to build my KDE4 and Qt4 application on a KF5 system ?

Tags: None
(comma "," separated)
User avatar
manasij7479
Registered Member
Posts
52
Karma
0
OS
Hi,
I have a little application that uses Qt4 and KTextEditor from KDElibs4.
It works and builds fine on Arch Linux even after installing KF5, as the old libraries still exist.

But another person reported that it does not build on a Kubuntu 15.04 (daily build) system.
Can anyone help me find a way to build it there ?

(It may be a matter of installing a few packages, but I can not figure out which ones.)

Here is a github link for the CMakeLists.txt
(https://github.com/manasij7479/spider/b ... eLists.txt)

And if you have Kubuntu 15.04 installed, it would be great if you could give it a try.
Code: Select all
git clone https://github.com/manasij7479/spider.git
cd spider
git submodule update --recursive --init
mkdir build
cd build
cmake ../
make -j9


I am not at this moment, trying to port it to KF5 APIs and Qt5, though I may start on that once it can be considered stable.
Thanks


Manasij Mukherjee @ Arch Linux | gcc-4.9.2 | Plasma 5.2
User avatar
Mike A.
KDE Developer
Posts
41
Karma
0
OS
It's been a little while and I see you're using Qt5Widgets and Qt5Core in the CMake file you linked, so perhaps you've moved past the issue.

If you're still having problems, I think you might try adding some more bells and whistles to your CMake system. Could you try looking at the repo for an existing KDE app and seeing how their CMake systems work? There are a bunch of standard KDE CMake macros to help sort out these sorts of issues in the KDE extra-cmake-modules, and taking advantage of them in your own project can greatly aid making your apps portable.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]