annotate src/qt-test.cpp @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 99516e73b368
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2351
8a6c466753e2 Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents: 2333
diff changeset
1 /*
8a6c466753e2 Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents: 2333
diff changeset
2 * This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2351
diff changeset
3 * See index.html for further information.
2351
8a6c466753e2 Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents: 2333
diff changeset
4 */
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5
828
ec68b532f35d simplified #include in test of package qt
Volker Grabsch <vog@notjusthosting.com>
parents: 827
diff changeset
6 #include <QApplication>
1910
ce3b84b9514f package qt: build with -no-iconv
Nikos Chantziaras <realnc@arcor.de>
parents: 1909
diff changeset
7 #include <QtPlugin>
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 #include "ui_qt-test.h"
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9
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
10 #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
11 #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
12 #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
13
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 #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
15 #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
16 #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
17
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 #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
19 #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
20 #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
21
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 #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
23 #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
24 #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
25
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 #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
27 #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
28 #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
29
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 #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
31 #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
32 #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
33
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 #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
35 #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
36 #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
37
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 #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
39 #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
40 #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
41
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 #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
43 #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
44 #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
45
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 #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
47 #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
48 #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
49
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 #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
51 #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
52 #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
53
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 #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
55 #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
56 #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
57
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 #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
59 #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
60 #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
61
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 #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
63 #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
64 #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
65
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 #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
67 #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
68 #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
69
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 #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
71 #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
72 #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
73
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 #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
75 #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
76 #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
77
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 #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
79 #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
80 #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
81
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 #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
83 #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
84 #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
85
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 #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
87 #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
88 #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
89
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 #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
91 #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
92 #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
93
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 #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
95 #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
96 #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
97
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 #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
99 #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
100 #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
101
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 #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
103 #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
104 #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
105
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 #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
107 #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
108 #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
109
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 #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
111 #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
112 #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
113
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 #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
115 #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
116 #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
117
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 #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
119 #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
120 #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
121
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 #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
123 #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
124 #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
125
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 #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
127 #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
128 #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
129
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 #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
131 #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
132 #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
133
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 #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
135 #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
136 #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
137
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 #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
139 #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
140 #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
141
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 #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
143 #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
144 #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
145
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 #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
147 #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
148 #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
149
660
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
150 int main(int argc, char *argv[])
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
151 {
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
152 QApplication a(argc, argv);
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
153 QMainWindow w;
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
154 Ui::MainWindow u;
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
155 u.setupUi(&w);
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
156 w.show();
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
157 return a.exec();
f77810598227 test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
158 }