reading=[[../kdesvn-build|kdesvn-build: The KDE From Subversion Build Tool]]<br>[[../../Increased_Productivity_in_KDE4_with_Scripts|Increased Productivity in KDE4 with Scripts]]<br>[[Development/Tutorials/CMake |Introduction to CMake]]|

If you want to use qt4 from the Arch Linux repository you can install it with:

+

Note that Qt 4 will be installed by the command above (it is required by QCA anyway), but you can [[Getting Started/Build/KDE4/Prerequisites#Qt|build your own]] from qt-copy in KDE svn, which will include several fixes not yet in a released version of Qt as well as giving you the option of compiling a version with debugging information. If you do this, the system installed QCA (and any other system libraries that use Qt 4) should work without a problem in your local KDE build.

−

<code bash>

+

−

pacman -Sy qt4

+

−

</code>

+

−

("pacman -Sy qt" if you are running bleeding-edge Arch Testing)

+

−

{{TODO| Does Arch provide anything else? HAL/kdesupport?

+

All of the dependencies in kdesupport can be installed from the [extra] repository. These will be fine for building from the KDE stable branch, but some may be too old for building KDE from trunk.

To build the latest versions of these instead, see [[Getting Started/Build/KDE_Support|building kdesupport]]

+

+

For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH).

+

+

Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the [http://aur.archlinux.org/ AUR]. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use [http://wiki.archlinux.org/index.php/Yaourt Yaourt].

+

Here is the list of packages needed to build almost all of the KDE. Put these lines into a file, named for example 'pkglist' then use it to install all the packages at once by issuing "pacman -S $(< pkglist)". See [https://wiki.archlinux.org/index.php/Pacman_Tips#Backing_up_and_retrieving_a_list_of_installed_packages PacmanTips] for more information.

Note that Qt 4 will be installed by the command above (it is required by QCA anyway), but you can build your own from qt-copy in KDE svn, which will include several fixes not yet in a released version of Qt as well as giving you the option of compiling a version with debugging information. If you do this, the system installed QCA (and any other system libraries that use Qt 4) should work without a problem in your local KDE build.

All of the dependencies in kdesupport can be installed from the [extra] repository. These will be fine for building from the KDE stable branch, but some may be too old for building KDE from trunk.

Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the AUR. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use Yaourt.

Here is the list of packages needed to build almost all of the KDE. Put these lines into a file, named for example 'pkglist' then use it to install all the packages at once by issuing "pacman -S $(< pkglist)". See PacmanTips for more information.