KDevelop5/Manual/Appendiks A: Byg KDevelop fra kildekoden

Revision as of 08:29, 1 October 2017 by Claus chr (Talk | contribs) (Importing a new version from external source)

Jump to: navigation, search
Other languages:
dansk • ‎English • ‎українська

Appendiks A: Byg KDevelop fra kildekoden

Hvis du ønsker at have de seneste funktioner og fejlretninger, så kan du selv bygge KDevelop fra kilden.

Der findes en mere dybtgående artikel her.

Vær opmærksom på, at du derved kan komme til at bygge en ustabil udgave. For at hjælpe udviklerne med at rette fejl, så husk RelWithDebInfo og rapportér fejl til http://bugs.kde.org, enten ved håndkraft eller vad at bruge Dr. Konqi.

Forudsætninger

Installér for alle brugere

mkdir kdevgit
cd kdevgit
git clone git://anongit.kde.org/kdevplatform
git clone git://anongit.kde.org/kdevelop
cd kdevplatform
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make && sudo make install
kbuildsycoca4
cd ../..
cd kdevelop
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make && sudo make install
kbuildsycoca4

Install for local user

mkdir kdevgit
cd kdevgit
git clone git://anongit.kde.org/kdevplatform
git clone git://anongit.kde.org/kdevelop
cd kdevplatform
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ..
make && make install
# the following line is needed so that kbuildsycoca4 finds all .desktop files
export KDEDIRS=$HOME/kdevelop4:/usr
kbuildsycoca4
cd ../..
cd kdevelop
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 ..
make && make install
kbuildsycoca4

Please note: Whenever you do some package or distribution update that calls kbuildsycoca4, you need to execute the following lines after the update:

export KDEDIRS=$HOME/kdevelop4:/usr
kbuildsycoca4



Content is available under Creative Commons License SA 4.0 unless otherwise noted.