Qt

From PLplotWiki
Revision as of 09:07, 19 March 2009 by Airwin (Talk | contribs)

Jump to: navigation, search

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