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.

34 lines
410 B

#include <QtGlobal>
#include "TestClass.hpp"
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;
}