MacOS: Modify OS detection macro (#15924)
* Fixes #15904 * MacOS: Always use Q_OS_MACOS to detect MacOS because the Conda builds do not define Q_OS_APPLE
This commit is contained in:
@@ -80,7 +80,7 @@ bool Assistant::startAssistant()
|
||||
QString app;
|
||||
app = QDir::toNativeSeparators(QString::fromStdString
|
||||
(App::Application::getHomePath()) + QLatin1String("bin/"));
|
||||
#elif defined(Q_OS_APPLE)
|
||||
#elif defined(Q_OS_MACOS)
|
||||
QString app = QCoreApplication::applicationDirPath() + QDir::separator();
|
||||
#else
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
|
||||
|
||||
Reference in New Issue
Block a user