summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2014-04-16 12:26:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-30 18:22:41 +0200
commite91d6f217d71e62a7e727b0da0b54b626370aba3 (patch)
tree4485bfe0b9d246942d59769b52719cdc87955ff4
parent2e30101d80e118aa2e2cf30418260b1c327bed7b (diff)
Doc: Document development tools setup on different Linux distros
Document the packages to install on different Linux distros in order to fulfill the basic requirements for application development using the Qt installers. Task-number: QTBUG-37293 Change-Id: I82f48f0ae48abbb75547b3ae5b4d9dfd94184f1d Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
-rw-r--r--doc/src/platforms/linux.qdoc33
1 files changed, 31 insertions, 2 deletions
diff --git a/doc/src/platforms/linux.qdoc b/doc/src/platforms/linux.qdoc
index a44ce76d9..62dfad906 100644
--- a/doc/src/platforms/linux.qdoc
+++ b/doc/src/platforms/linux.qdoc
@@ -32,8 +32,6 @@
\ingroup supportedplatform
Qt's support for different Linux platforms is extensive and mature.
- Before you get started, ensure that your development environment fulfills
- the \l{Qt for X11 Requirements}{requirements}.
\section1 Downloading and Installing Qt
@@ -49,6 +47,37 @@
\note Qt Enterprise packages are available from the \l{Try Qt Enterprise}
page.
+ \section2 Requirements for Development Host
+
+ The Qt installers for Linux assume that a C++ compiler, debugger,
+ make, and other development tools are provided by the host
+ operating system. In addition, building graphical Qt applications
+ requires OpenGL libraries and headers installed. Most Linux
+ distributions do not install all of these by default, but setting
+ up a development environment is still straightforward.
+
+ Use the following commands to install the basic requirements for
+ building Qt applications:
+
+ \section3 Debian/Ubuntu (apt-get)
+
+ \badcode
+ sudo apt-get install build-essential libgl1-mesa-dev
+ \endcode
+
+ \section3 Fedora/RHEL/CentOS (yum)
+
+ \badcode
+ sudo yum groupinstall "C Development Tools and Libraries"
+ sudo yum install mesa-libGL-devel
+ \endcode
+
+ \section3 openSUSE (zypper)
+
+ \badcode
+ sudo zypper install -t pattern devel_basis
+ \endcode
+
\section2 Building Qt 5 from Source
You can also build Qt 5 from the source package and configure it according