Mercurial > mxe-octave
annotate src/qt-test.cpp @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 4ec76e2b5915 |
children | 8a6c466753e2 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1915
diff
changeset
|
1 /* This file is part of MXE. */ |
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 |
828
ec68b532f35d
simplified #include in test of package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
827
diff
changeset
|
4 #include <QApplication> |
1910
ce3b84b9514f
package qt: build with -no-iconv
Nikos Chantziaras <realnc@arcor.de>
parents:
1909
diff
changeset
|
5 #include <QtPlugin> |
660
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 #include "ui_qt-test.h" |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 |
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
|
8 #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
|
9 #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
|
10 #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
|
11 |
a8eab10b9540
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 #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
|
13 #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
|
14 #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
|
15 |
a8eab10b9540
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 #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
|
17 #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
|
18 #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
|
19 |
a8eab10b9540
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 #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
|
21 #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
|
22 #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
|
23 |
a8eab10b9540
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 #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
|
25 #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
|
26 #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
|
27 |
a8eab10b9540
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 #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
|
29 #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
|
30 #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
|
31 |
a8eab10b9540
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 #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
|
33 #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
|
34 #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
|
35 |
a8eab10b9540
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 #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
|
37 #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
|
38 #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
|
39 |
a8eab10b9540
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 #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
|
41 #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
|
42 #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
|
43 |
a8eab10b9540
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 #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
|
45 #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
|
46 #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
|
47 |
a8eab10b9540
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 #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
|
49 #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
|
50 #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
|
51 |
a8eab10b9540
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 #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
|
53 #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
|
54 #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
|
55 |
a8eab10b9540
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 #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
|
57 #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
|
58 #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
|
59 |
a8eab10b9540
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 #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
|
61 #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
|
62 #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
|
63 |
a8eab10b9540
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 #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
|
65 #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
|
66 #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
|
67 |
a8eab10b9540
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 #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
|
69 #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
|
70 #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
|
71 |
a8eab10b9540
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 #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
|
73 #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
|
74 #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
|
75 |
a8eab10b9540
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 #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
|
77 #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
|
78 #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
|
79 |
a8eab10b9540
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 #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
|
81 #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
|
82 #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
|
83 |
a8eab10b9540
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 #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
|
85 #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
|
86 #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
|
87 |
a8eab10b9540
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 #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
|
89 #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
|
90 #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
|
91 |
a8eab10b9540
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 #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
|
93 #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
|
94 #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
|
95 |
a8eab10b9540
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 #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
|
97 #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
|
98 #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
|
99 |
a8eab10b9540
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 #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
|
101 #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
|
102 #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
|
103 |
a8eab10b9540
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 #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
|
105 #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
|
106 #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
|
107 |
a8eab10b9540
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 #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
|
109 #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
|
110 #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
|
111 |
a8eab10b9540
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 #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
|
113 #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
|
114 #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
|
115 |
a8eab10b9540
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 #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
|
117 #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
|
118 #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
|
119 |
a8eab10b9540
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 #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
|
121 #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
|
122 #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
|
123 |
a8eab10b9540
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 #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
|
125 #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
|
126 #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
|
127 |
a8eab10b9540
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 #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
|
129 #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
|
130 #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
|
131 |
a8eab10b9540
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 #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
|
133 #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
|
134 #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
|
135 |
a8eab10b9540
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 #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
|
137 #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
|
138 #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
|
139 |
a8eab10b9540
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 #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
|
141 #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
|
142 #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
|
143 |
a8eab10b9540
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 #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
|
145 #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
|
146 #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
|
147 |
660
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
148 int main(int argc, char *argv[]) |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
149 { |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
150 QApplication a(argc, argv); |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
151 QMainWindow w; |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
152 Ui::MainWindow u; |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
153 u.setupUi(&w); |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
154 w.show(); |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
155 return a.exec(); |
f77810598227
test program for package qt
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
156 } |