Difference between revisions of "Qt"
(→Linux Build) |
|||
Line 11: | Line 11: | ||
== Linux Build == | == Linux Build == | ||
+ | === Using the system version of Qt === | ||
+ | Make sure the binary version of the development package for libqt4 and all its dependencies have been installed for your distribution, and our CMake-based build system should do the rest. The libqt4 development package name varies from distribution to distribution, but on Debian it is called libqt4-dev, and on Fedora 10 it is called qt-devel-4.4.3-2.fc10.x86_64.rpm | ||
+ | === Using a downloaded version of Qt === | ||
+ | For convenience most Linux users will want to use the system version of Qt (see above), which for many distributions at this time of writing (2009-03) is version 4.4. However, we have noticed that Qt-4.5 has some bug fixes (e.g., better text placement results for SVG output) and new features (e.g., a viewBox capability for SVG output files). To get access to Qt-4.5 | ||
+ | www.qtsoftware.com/downloads/sdk-linux-x11-32bit-cpp | ||
+ | www.qtsoftware.com/downloads/sdk-linux-x11-64bit-cpp |
Revision as of 09:42, 19 March 2009
Contents
Description
Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across many desktop and embedded operating systems without rewriting the source code.
MinGW Build
- Download QT 4.5 Framework only for MinGW
- Run the exe and install QT 4.5. Depending on your MinGW version the installer may complain about a wrong w32api.h header file - proceed still.
- set environment variables (for MinGW and Visual C++) and add the bin directory to PATH
set QTDIR=C:\QT\4.5.0 set PATH=%SQTDIR%\bin;%PATH%
If you can run 'qmake' then everything is set up for CMake to find Qt.
Linux Build
Using the system version of Qt
Make sure the binary version of the development package for libqt4 and all its dependencies have been installed for your distribution, and our CMake-based build system should do the rest. The libqt4 development package name varies from distribution to distribution, but on Debian it is called libqt4-dev, and on Fedora 10 it is called qt-devel-4.4.3-2.fc10.x86_64.rpm
Using a downloaded version of Qt
For convenience most Linux users will want to use the system version of Qt (see above), which for many distributions at this time of writing (2009-03) is version 4.4. However, we have noticed that Qt-4.5 has some bug fixes (e.g., better text placement results for SVG output) and new features (e.g., a viewBox capability for SVG output files). To get access to Qt-4.5 www.qtsoftware.com/downloads/sdk-linux-x11-32bit-cpp www.qtsoftware.com/downloads/sdk-linux-x11-64bit-cpp