Restrict Q_OS_UNIX ifdefs to non-Mac platforms

This commit is contained in:
Janek Bevendorff 2017-12-27 20:31:15 +01:00
parent e29d3497eb
commit 71f38f17cd
3 changed files with 8 additions and 10 deletions

View file

@ -37,9 +37,9 @@
#ifdef QT_STATIC
#include <QtPlugin>
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN)
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#elif Q_OS_UNIX
#elif defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
#endif
#endif