summaryrefslogtreecommitdiffstats
path: root/src/qt-test.cpp
blob: 61ddbc7b11392d446553b10d0a963da565ce5f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <QApplication>
#include <QtPlugin>
#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);
    QMainWindow w;
    Ui::MainWindow u;
    u.setupUi(&w);
    w.show();
    return a.exec();
}