annotate src/qt-test.cpp @ 827:a8eab10b9540

check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 28 Mar 2010 04:15:44 +0200
parents 2fc6fe4bb9f4
children ec68b532f35d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
730
2fc6fe4bb9f4 improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
1 /* This file is part of mingw-cross-env. */
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 660
diff changeset
2 /* See doc/index.html for further information. */
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 #include <QtGui/QApplication>
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 #include "ui_qt-test.h"
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6
827
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
7 #ifdef Q_OS_AIX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
8 #error "Q_OS_AIX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
9 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
10
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
11 #ifdef Q_OS_BSD4
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
12 #error "Q_OS_BSD4 is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
13 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
14
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
15 #ifdef Q_OS_BSDI
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
16 #error "Q_OS_BSDI is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
17 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
18
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
19 #ifdef Q_OS_CYGWIN
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
20 #error "Q_OS_CYGWIN is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
21 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
22
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
23 #ifdef Q_OS_DARWIN
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
24 #error "Q_OS_DARWIN is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
25 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
26
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
27 #ifdef Q_OS_DGUX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
28 #error "Q_OS_DGUX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
29 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
30
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
31 #ifdef Q_OS_DYNIX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
32 #error "Q_OS_DYNIX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
33 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
34
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
35 #ifdef Q_OS_FREEBSD
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
36 #error "Q_OS_FREEBSD is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
37 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
38
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
39 #ifdef Q_OS_HPUX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
40 #error "Q_OS_HPUX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
41 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
42
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
43 #ifdef Q_OS_HURD
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
44 #error "Q_OS_HURD is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
45 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
46
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
47 #ifdef Q_OS_IRIX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
48 #error "Q_OS_IRIX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
49 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
50
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
51 #ifdef Q_OS_LINUX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
52 #error "Q_OS_LINUX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
53 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
54
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
55 #ifdef Q_OS_LYNX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
56 #error "Q_OS_LYNX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
57 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
58
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
59 #ifdef Q_OS_MAC
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
60 #error "Q_OS_MAC is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
61 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
62
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
63 #ifdef Q_OS_MSDOS
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
64 #error "Q_OS_MSDOS is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
65 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
66
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
67 #ifdef Q_OS_NETBSD
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
68 #error "Q_OS_NETBSD is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
69 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
70
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
71 #ifdef Q_OS_OS2
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
72 #error "Q_OS_OS2 is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
73 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
74
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
75 #ifdef Q_OS_OPENBSD
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
76 #error "Q_OS_OPENBSD is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
77 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
78
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
79 #ifdef Q_OS_OS2EMX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
80 #error "Q_OS_OS2EMX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
81 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
82
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
83 #ifdef Q_OS_OSF
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
84 #error "Q_OS_OSF is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
85 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
86
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
87 #ifdef Q_OS_QNX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
88 #error "Q_OS_QNX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
89 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
90
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
91 #ifdef Q_OS_RELIANT
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
92 #error "Q_OS_RELIANT is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
93 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
94
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
95 #ifdef Q_OS_SCO
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
96 #error "Q_OS_SCO is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
97 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
98
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
99 #ifdef Q_OS_SOLARIS
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
100 #error "Q_OS_SOLARIS is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
101 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
102
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
103 #ifdef Q_OS_SYMBIAN
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
104 #error "Q_OS_SYMBIAN is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
105 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
106
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
107 #ifdef Q_OS_ULTRIX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
108 #error "Q_OS_ULTRIX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
109 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
110
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
111 #ifdef Q_OS_UNIX
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
112 #error "Q_OS_UNIX is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
113 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
114
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
115 #ifdef Q_OS_UNIXWARE
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
116 #error "Q_OS_UNIXWARE is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
117 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
118
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
119 #ifndef Q_OS_WIN32
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
120 #error "Q_OS_WIN32 is not defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
121 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
122
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
123 #ifdef Q_OS_WINCE
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
124 #error "Q_OS_WINCE is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
125 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
126
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
127 #ifdef Q_WS_S60
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
128 #error "Q_WS_S60 is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
129 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
130
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
131 #ifdef Q_WS_X11
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
132 #error "Q_WS_X11 is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
133 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
134
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
135 #ifdef Q_WS_MAC
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
136 #error "Q_WS_MAC is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
137 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
138
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
139 #ifdef Q_WS_OWS
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
140 #error "Q_WS_QWS is defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
141 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
142
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
143 #ifndef Q_WS_WIN
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
144 #error "Q_WS_WIN is not defined"
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
145 #endif
a8eab10b9540 check whether the correct Q_OS_* and Q_WS_* macros are set in package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 730
diff changeset
146
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
147 int main(int argc, char *argv[])
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
148 {
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
149 QApplication a(argc, argv);
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
150 QMainWindow w;
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
151 Ui::MainWindow u;
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
152 u.setupUi(&w);
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
153 w.show();
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
154 return a.exec();
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
155 }