KDevelop4/Manual/Appendix A: Building KDevelop from Sources/da: Difference between revisions

From KDE UserBase Wiki
(Importing a new version from external source)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 12: Line 12:


* kdelibs-devel >= 4.3 - http://www.kde.org
* kdelibs-devel >= 4.3 - http://www.kde.org
* qt-devel >= 4.5.2 - http://qt.nokia.com
* qt-devel >= 4.5.2 - http://qt-project.org/
* boost-devel >= 1.35 - http://www.boost.org
* boost-devel >= 1.35 - http://www.boost.org
* g++ >= 4.0 - http://gcc.gnu.org
* g++ >= 4.0 - http://gcc.gnu.org
Line 18: Line 18:
* qjson-devel
* qjson-devel


=== Install for all users ===
=== Installér for alle brugere ===


{{Input|1=
{{Input|1=
Line 40: Line 40:
}}
}}


=== Install for local user ===
=== Installér for en lokal bruger ===


{{Input|1=
{{Input|1=
Line 63: Line 63:
kbuildsycoca4
kbuildsycoca4
}}
}}
Please note: Whenever you do some package or distribution update that calls '''kbuildsycoca4''', you need to execute the following lines after the update:
 
Bemærk venligst, at nå du foretager en opdatering af pakker eller distribution som kalder '''kbuildsycoca4''', så skal du udføre følgende linjer efter opdateringen:
 
{{Input|1=
{{Input|1=
export KDEDIRS=$HOME/kdevelop4:/usr
export KDEDIRS=$HOME/kdevelop4:/usr
Line 72: Line 74:
{{Prevnext2
{{Prevnext2
| prevpage=Special:MyLanguage/KDevelop4/Manual/Customizing_KDevelop |  
| prevpage=Special:MyLanguage/KDevelop4/Manual/Customizing_KDevelop |  
| prevtext=Customizing KDevelop |  
| prevtext=Tilpasning af KDevelop |  
| index=Special:MyLanguage/KDevelop4/Manual | indextext=Back to menu
| index=Special:MyLanguage/KDevelop4/Manual | indextext=Indholdsfortegnelse
}}
}}


[[Category:Development]]
[[Category:Udvikling/da]]
[[Category:Advanced_Users]]
[[Category:Avancerede brugere/da]]

Latest revision as of 10:51, 14 July 2019

Other languages:

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ér for en lokal bruger

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

Bemærk venligst, at nå du foretager en opdatering af pakker eller distribution som kalder kbuildsycoca4, så skal du udføre følgende linjer efter opdateringen:

export KDEDIRS=$HOME/kdevelop4:/usr
kbuildsycoca4