You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
409 B

#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;
}