diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-03-28 02:15:44 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-03-28 02:15:44 (GMT) |
commit | 1a8f8ac92b3b0fc956bf3c6623a4be4ef6ab1627 (patch) | |
tree | 217c24d24722a126ed1bf1c43e66f97f4013dcf5 /src/qt-test.cpp | |
parent | d0eb0e0c914d8aaaf39a085e26dee3f3ef2eecb3 (diff) | |
download | mxe-1a8f8ac92b3b0fc956bf3c6623a4be4ef6ab1627.zip mxe-1a8f8ac92b3b0fc956bf3c6623a4be4ef6ab1627.tar.gz mxe-1a8f8ac92b3b0fc956bf3c6623a4be4ef6ab1627.tar.bz2 |
check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Diffstat (limited to 'src/qt-test.cpp')
-rw-r--r-- | src/qt-test.cpp | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/src/qt-test.cpp b/src/qt-test.cpp index 93dae04..a8fa8fa 100644 --- a/src/qt-test.cpp +++ b/src/qt-test.cpp @@ -4,6 +4,146 @@ #include <QtGui/QApplication> #include "ui_qt-test.h" +#ifdef Q_OS_AIX +#error "Q_OS_AIX is defined" +#endif + +#ifdef Q_OS_BSD4 +#error "Q_OS_BSD4 is defined" +#endif + +#ifdef Q_OS_BSDI +#error "Q_OS_BSDI is defined" +#endif + +#ifdef Q_OS_CYGWIN +#error "Q_OS_CYGWIN is defined" +#endif + +#ifdef Q_OS_DARWIN +#error "Q_OS_DARWIN is defined" +#endif + +#ifdef Q_OS_DGUX +#error "Q_OS_DGUX is defined" +#endif + +#ifdef Q_OS_DYNIX +#error "Q_OS_DYNIX is defined" +#endif + +#ifdef Q_OS_FREEBSD +#error "Q_OS_FREEBSD is defined" +#endif + +#ifdef Q_OS_HPUX +#error "Q_OS_HPUX is defined" +#endif + +#ifdef Q_OS_HURD +#error "Q_OS_HURD is defined" +#endif + +#ifdef Q_OS_IRIX +#error "Q_OS_IRIX is defined" +#endif + +#ifdef Q_OS_LINUX +#error "Q_OS_LINUX is defined" +#endif + +#ifdef Q_OS_LYNX +#error "Q_OS_LYNX is defined" +#endif + +#ifdef Q_OS_MAC +#error "Q_OS_MAC is defined" +#endif + +#ifdef Q_OS_MSDOS +#error "Q_OS_MSDOS is defined" +#endif + +#ifdef Q_OS_NETBSD +#error "Q_OS_NETBSD is defined" +#endif + +#ifdef Q_OS_OS2 +#error "Q_OS_OS2 is defined" +#endif + +#ifdef Q_OS_OPENBSD +#error "Q_OS_OPENBSD is defined" +#endif + +#ifdef Q_OS_OS2EMX +#error "Q_OS_OS2EMX is defined" +#endif + +#ifdef Q_OS_OSF +#error "Q_OS_OSF is defined" +#endif + +#ifdef Q_OS_QNX +#error "Q_OS_QNX is defined" +#endif + +#ifdef Q_OS_RELIANT +#error "Q_OS_RELIANT is defined" +#endif + +#ifdef Q_OS_SCO +#error "Q_OS_SCO is defined" +#endif + +#ifdef Q_OS_SOLARIS +#error "Q_OS_SOLARIS is defined" +#endif + +#ifdef Q_OS_SYMBIAN +#error "Q_OS_SYMBIAN is defined" +#endif + +#ifdef Q_OS_ULTRIX +#error "Q_OS_ULTRIX is defined" +#endif + +#ifdef Q_OS_UNIX +#error "Q_OS_UNIX is defined" +#endif + +#ifdef Q_OS_UNIXWARE +#error "Q_OS_UNIXWARE is defined" +#endif + +#ifndef Q_OS_WIN32 +#error "Q_OS_WIN32 is not defined" +#endif + +#ifdef Q_OS_WINCE +#error "Q_OS_WINCE is defined" +#endif + +#ifdef Q_WS_S60 +#error "Q_WS_S60 is defined" +#endif + +#ifdef Q_WS_X11 +#error "Q_WS_X11 is defined" +#endif + +#ifdef Q_WS_MAC +#error "Q_WS_MAC is defined" +#endif + +#ifdef Q_WS_OWS +#error "Q_WS_QWS is defined" +#endif + +#ifndef Q_WS_WIN +#error "Q_WS_WIN is not defined" +#endif + int main(int argc, char *argv[]) { QApplication a(argc, argv); |