View source for Talk:Guidelines and HOWTOs/Build from source
|Thread title||Replies||Last modified|
|fanciful: "Compilation: how to quickly solve build problems"||1||08:47, 22 March 2019|
|Build dependencies for kdevplatform necessary?||4||02:29, 8 September 2016|
|grantlee 5.0 in Debian sid / Qt 5.4||2||20:13, 18 December 2015|
|Isn't Phonon4Qt5 needed on openSUSE?||1||09:30, 9 August 2015|
|unable to finish Qt 5.2 compilation unless it is done in a different directory||1||00:14, 6 February 2014|
|KF5 build error kdex.dtd||1||00:13, 6 February 2014|
|Qt5 and KDE Frameworks||0||03:24, 16 September 2012|
What is quick about an 8 step preocedure where you then have to "Start over from scratch." ?? KDE should be more serious about any "convoluted" development process. These problems cannot be wished away with some hipster lingo.
Hi out there, this is my first successful attempt to build KDE components (KDevelop, as described in the tutorial)
I followed the tutorial and got stuck at 2 points: In Kubuntu 15.10 the following packages are missing:
* bison * flex
Seems that they are not standard in this distro. I added them to the dependencies list in the wiki.
The second thing was that I had to include the build-depencencies for kdevplatform:
- $ kdesrc-build --include-dependencies kdevplatform
After that, the tutorial worked as described. Should this be added to the tutorial?
I would like to contribute something to this great project in the future (I'm using KDE since some years now and did some C++/Qt4 stuff in the past, beginning with Qt5 now).
So I also would like to see the "obstacles" as low as possible for anyone who wants to get involved as a "bloody beginner" like me.
I added flex and bison to openSUSE 42.1.
The wiki messaging system is not used often, so if you need further help, please contact the KDE people using the mailing lists or IRC, see https://community.kde.org/Get_Involved#Getting_in_touch
I think the following command should either replace or be added to the build command in this doc: $ kdesrc-build --include-dependencies kdevplatform This should help resolve any new dependencies that changed since the writing of the doc.
I am not sure why specifically kdevplatform should be added to the kdesrc-build argument. Please ask this question on firstname.lastname@example.org. It has a much higher visibility than this wiki communication channel.
I am building KDE Frameworks in Debian SID. There is an error while building kdevplatform because grantlee5 is not found.
Message in the cmake logfile: Could not find a package configuration file provided by "Grantlee5"
I searched the Debian experimental repository and could not find it.
Now kdevplatform is built just fine.
Thanks for the report. Sorry for the late reply. I didn't check the wiki messages. Did you edit the wiki page to reflect your findings?
Sorry now for my late reply... I did not update the wiki about grantlee. In fact I could not complete the rest of the building at the time. I am going to try building KF5.17 in Debian Testing now. If there is anything that is not reflected in the wiki and I succeed the building, I'll share it here and on the wiki. Regards!
On openSUSE 13.1 I have this for knotifications:
Could not find a package configuration file provided by "Phonon4Qt5"
Isn't this needed?
$ sudo zypper in libphonon4qt5 phonon4qt5-backend-gstreamer phonon4qt5-backend-vlc phonon4qt5-devel
I've been unable to compile Qt5 for a long time, until today that I've tried to build it from another directory, not from the git clone directory.
$ git clone git://anongit.kde.org/qt/qt5.git --branch stable $ cd qt5 $ ./init-repository $ ./configure -prefix $PWD/qtbase -opensource -confirm-license -developer-build -nomake tests -nomake examples -dbus -no-separate-debug-info -xcb -qpa xcb -no-gtkstyle $ make
I had to use:
$ git clone git://anongit.kde.org/qt/qt5.git --branch stable $ cd qt5 $ ./init-repository $ mkdir build $ ../configure -prefix $PWD/qtbase -opensource -confirm-license -developer-build -nomake tests -nomake examples -dbus -no-separate-debug-info -xcb -qpa xcb -no-gtkstyle -no-warnings-are-errors $ make
I would like to build KF5, but I've got error and I don't know, what with this. Could anybody help, please. Error message:
Built target klanguagebuttontest_automoc man-preparetips.1.docbook:5: warning: failed to load external entity "dtd/kdex.dtd" ]>
man-preparetips.1.docbook:7: parser error : Entity 'language' not defined <refentry lang="&language;">
man-preparetips.1.docbook:7: validity error : Validation failed: no DTD found ! <refentry lang="&language;">
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
Did something change within Frameworks to make this document out of date for KDE Frameworks on QT5?
I try to pass -DQT5_BUILD=TRUE as the document states, and now recently I am getting
Manually-specified variables were not used by the project:
and ldd on the resulting binaries seems that it builds against QT4 in /usr, instead of the QT5 in /opt. The same buildscript I use used to work.