diff --git a/src/app/main.cpp b/src/app/main.cpp
index 655095956a76f1439114e7d6dee82f7b0cea4ee1..69c7aff13d2442bfc68292626bfbb9041a36d997 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -179,7 +179,7 @@ static inline QStringList getPluginPaths()
     // 1) "plugins" (Win/Linux)
     QString pluginPath = rootDirPath;
     pluginPath += QDir::separator();
-#ifdef QT_ARCH_X86_64
+#if defined(QT_ARCH_X86_64) && defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
     pluginPath += QLatin1String("lib64");
 #else
     pluginPath += QLatin1String("lib");