qtah-generator-0.8.0: Generator for Qtah Qt bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Qtah.Generator.Config

Description

Haskell definitions for preprocessor flags that Qt uses for conditional compilation.

A list of flags enabled on your system can be obtained with:

gcc -dM -E $(pkg-config --cflags QtCore) /usr/include/qt4/Qt/qconfig.h | grep '#define QT'

Using qglobal.h and #define Q provides additional defintions, e.g. version and windowing system information.

Synopsis

Documentation

type Version = [Int] Source #

A type synonym for Qt version specifications. These are just lists of integers, of length two. Examples are [4, 8] and [5, 0] to denote versions 4.8 and 5.0 respectively. A third component may be used in the future, if necessary.

qrealFloat :: Bool Source #

Whether Qt was configured with qreal=float instead of double.