summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocOsMacros/main.cpp
blob: f8eec3cbc4ee7dd0f02490c2ada822f342522753 (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
#include "TestClass.hpp"
#include <QtGlobal>

int main()
{
  TestClass a;
#ifdef Q_OS_MAC
  a.MacNotDefElse();
  a.MacDef();
#else
  a.MacNotDef();
  a.MacDefElse();
#endif

#ifdef Q_OS_UNIX
  a.UnixNotDefElse();
  a.UnixDef();
#else
  a.UnixNotDef();
  a.UnixDefElse();
#endif

#ifdef Q_OS_WIN
  a.WindowsNotDefElse();
  a.WindowsDef();
#else
  a.WindowsNotDef();
  a.WindowsDefElse();
#endif

  return 0;
}