Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- type Version = [Int]
- qtVersion :: Version
- qmakeExecutable :: FilePath
- qmakeArguments :: [String]
- keypadNavigation :: Bool
- qdoc :: Bool
- qrealFloat :: Bool
- wsWince :: Bool
Documentation
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.
qmakeArguments :: [String] Source #
qrealFloat :: Bool Source #
Whether Qt was configured with qreal=float instead of double.