184 lines
4.8 KiB
C
184 lines
4.8 KiB
C
#ifndef QT_BOOTSTRAPPED
|
|
#include "qconfig-genode.h"
|
|
#endif
|
|
|
|
/* Qt Edition */
|
|
#ifndef QT_EDITION
|
|
# define QT_EDITION QT_EDITION_OPENSOURCE
|
|
#endif
|
|
|
|
/* Compile time features */
|
|
#ifdef QT_ARCH_X86_64
|
|
# define QT_POINTER_SIZE 8
|
|
#endif
|
|
#ifdef QT_ARCH_I386
|
|
# define QT_POINTER_SIZE 4
|
|
#endif
|
|
|
|
//#define QT_REDUCE_RELOCATIONS
|
|
|
|
// Compiler sub-arch support
|
|
|
|
#if defined(QT_BUILTIN_GIF_READER) && defined(QT_NO_BUILTIN_GIF_READER)
|
|
# undef QT_BUILTIN_GIF_READER
|
|
#elif !defined(QT_BUILTIN_GIF_READER) && !defined(QT_NO_BUILTIN_GIF_READER)
|
|
# define QT_BUILTIN_GIF_READER 1
|
|
#endif
|
|
|
|
#if defined(QT_LINKED_OPENSSL) && defined(QT_NO_LINKED_OPENSSL)
|
|
# undef QT_LINKED_OPENSSL
|
|
#elif !defined(QT_LINKED_OPENSSL) && !defined(QT_NO_LINKED_OPENSSL)
|
|
# define QT_LINKED_OPENSSL
|
|
#endif
|
|
|
|
#if defined(QT_NO_ACCESSIBILITY) && defined(QT_ACCESSIBILITY)
|
|
# undef QT_NO_ACCESSIBILITY
|
|
#elif !defined(QT_NO_ACCESSIBILITY) && !defined(QT_ACCESSIBILITY)
|
|
# define QT_NO_ACCESSIBILITY
|
|
#endif
|
|
|
|
#if defined(QT_NO_CLOCK_MONOTONIC) && defined(QT_CLOCK_MONOTONIC)
|
|
# undef QT_NO_CLOCK_MONOTONIC
|
|
#elif !defined(QT_NO_CLOCK_MONOTONIC) && !defined(QT_CLOCK_MONOTONIC)
|
|
# define QT_NO_CLOCK_MONOTONIC
|
|
#endif
|
|
|
|
#if defined(QT_NO_CUPS) && defined(QT_CUPS)
|
|
# undef QT_NO_CUPS
|
|
#elif !defined(QT_NO_CUPS) && !defined(QT_CUPS)
|
|
# define QT_NO_CUPS
|
|
#endif
|
|
|
|
#if defined(QT_NO_DBUS) && defined(QT_DBUS)
|
|
# undef QT_NO_DBUS
|
|
#elif !defined(QT_NO_DBUS) && !defined(QT_DBUS)
|
|
# define QT_NO_DBUS
|
|
#endif
|
|
|
|
#if defined(QT_NO_EGLFS) && defined(QT_EGLFS)
|
|
# undef QT_NO_EGLFS
|
|
#elif !defined(QT_NO_EGLFS) && !defined(QT_EGLFS)
|
|
# define QT_NO_EGLFS
|
|
#endif
|
|
|
|
#if defined(QT_NO_EVENTFD) && defined(QT_EVENTFD)
|
|
# undef QT_NO_EVENTFD
|
|
#elif !defined(QT_NO_EVENTFD) && !defined(QT_EVENTFD)
|
|
# define QT_NO_EVENTFD
|
|
#endif
|
|
|
|
#if defined(QT_NO_FONTCONFIG) && defined(QT_FONTCONFIG)
|
|
# undef QT_NO_FONTCONFIG
|
|
#elif !defined(QT_NO_FONTCONFIG) && !defined(QT_FONTCONFIG)
|
|
# define QT_NO_FONTCONFIG
|
|
#endif
|
|
|
|
#if defined(QT_NO_GLIB) && defined(QT_GLIB)
|
|
# undef QT_NO_GLIB
|
|
#elif !defined(QT_NO_GLIB) && !defined(QT_GLIB)
|
|
# define QT_NO_GLIB
|
|
#endif
|
|
|
|
#if defined(QT_NO_GSTREAMER) && defined(QT_GSTREAMER)
|
|
# undef QT_NO_GSTREAMER
|
|
#elif !defined(QT_NO_GSTREAMER) && !defined(QT_GSTREAMER)
|
|
# define QT_NO_GSTREAMER
|
|
#endif
|
|
|
|
#if defined(QT_NO_ICONV) && defined(QT_ICONV)
|
|
# undef QT_NO_ICONV
|
|
#elif !defined(QT_NO_ICONV) && !defined(QT_ICONV)
|
|
# define QT_NO_ICONV
|
|
#endif
|
|
|
|
#if defined(QT_NO_NIS) && defined(QT_NIS)
|
|
# undef QT_NO_NIS
|
|
#elif !defined(QT_NO_NIS) && !defined(QT_NIS)
|
|
# define QT_NO_NIS
|
|
#endif
|
|
|
|
#if defined(QT_NO_OPENVG) && defined(QT_OPENVG)
|
|
# undef QT_NO_OPENVG
|
|
#elif !defined(QT_NO_OPENVG) && !defined(QT_OPENVG)
|
|
# define QT_NO_OPENVG
|
|
#endif
|
|
|
|
#if defined(QT_NO_PULSEAUDIO) && defined(QT_PULSEAUDIO)
|
|
# undef QT_NO_PULSEAUDIO
|
|
#elif !defined(QT_NO_PULSEAUDIO) && !defined(QT_PULSEAUDIO)
|
|
# define QT_NO_PULSEAUDIO
|
|
#endif
|
|
|
|
#if defined(QT_NO_STYLE_GTK) && defined(QT_STYLE_GTK)
|
|
# undef QT_NO_STYLE_GTK
|
|
#elif !defined(QT_NO_STYLE_GTK) && !defined(QT_STYLE_GTK)
|
|
# define QT_NO_STYLE_GTK
|
|
#endif
|
|
|
|
#if defined(QT_NO_ZLIB) && defined(QT_ZLIB)
|
|
# undef QT_NO_ZLIB
|
|
#elif !defined(QT_NO_ZLIB) && !defined(QT_ZLIB)
|
|
# define QT_NO_ZLIB
|
|
#endif
|
|
|
|
#if defined(QT_RUNTIME_XCURSOR) && defined(QT_NO_RUNTIME_XCURSOR)
|
|
# undef QT_RUNTIME_XCURSOR
|
|
#elif !defined(QT_RUNTIME_XCURSOR) && !defined(QT_NO_RUNTIME_XCURSOR)
|
|
# define QT_RUNTIME_XCURSOR
|
|
#endif
|
|
|
|
#if defined(QT_RUNTIME_XFIXES) && defined(QT_NO_RUNTIME_XFIXES)
|
|
# undef QT_RUNTIME_XFIXES
|
|
#elif !defined(QT_RUNTIME_XFIXES) && !defined(QT_NO_RUNTIME_XFIXES)
|
|
# define QT_RUNTIME_XFIXES
|
|
#endif
|
|
|
|
#if defined(QT_RUNTIME_XINERAMA) && defined(QT_NO_RUNTIME_XINERAMA)
|
|
# undef QT_RUNTIME_XINERAMA
|
|
#elif !defined(QT_RUNTIME_XINERAMA) && !defined(QT_NO_RUNTIME_XINERAMA)
|
|
# define QT_RUNTIME_XINERAMA
|
|
#endif
|
|
|
|
#if defined(QT_RUNTIME_XINPUT) && defined(QT_NO_RUNTIME_XINPUT)
|
|
# undef QT_RUNTIME_XINPUT
|
|
#elif !defined(QT_RUNTIME_XINPUT) && !defined(QT_NO_RUNTIME_XINPUT)
|
|
# define QT_RUNTIME_XINPUT
|
|
#endif
|
|
|
|
#if defined(QT_RUNTIME_XRANDR) && defined(QT_NO_RUNTIME_XRANDR)
|
|
# undef QT_RUNTIME_XRANDR
|
|
#elif !defined(QT_RUNTIME_XRANDR) && !defined(QT_NO_RUNTIME_XRANDR)
|
|
# define QT_RUNTIME_XRANDR
|
|
#endif
|
|
|
|
#if defined(QT_USE_MATH_H_FLOATS) && defined(QT_NO_USE_MATH_H_FLOATS)
|
|
# undef QT_USE_MATH_H_FLOATS
|
|
#elif !defined(QT_USE_MATH_H_FLOATS) && !defined(QT_NO_USE_MATH_H_FLOATS)
|
|
# define QT_USE_MATH_H_FLOATS
|
|
#endif
|
|
|
|
#ifndef Q_WS_QPA
|
|
# define Q_WS_QPA
|
|
#endif
|
|
|
|
#define QT_VISIBILITY_AVAILABLE
|
|
|
|
#define QT_QPA_DEFAULT_PLATFORM_NAME "nitpicker"
|
|
|
|
/* needed for QtScript classic */
|
|
#ifndef QT_STATIC
|
|
# if defined(QT_BUILD_SCRIPT_LIB)
|
|
# define Q_SCRIPT_EXPORT Q_DECL_EXPORT
|
|
# else
|
|
# define Q_SCRIPT_EXPORT Q_DECL_IMPORT
|
|
# endif
|
|
# if defined(QT_BUILD_SCRIPTTOOLS_LIB)
|
|
# define Q_SCRIPTTOOLS_EXPORT Q_DECL_EXPORT
|
|
# else
|
|
# define Q_SCRIPTTOOLS_EXPORT Q_DECL_IMPORT
|
|
# endif
|
|
#else
|
|
# define Q_SCRIPT_EXPORT
|
|
# define Q_SCRIPTTOOLS_EXPORT
|
|
#endif
|