Showing the changes to interface/src/Application.cpp (1 of 12 files). Show all
Unified · Split
| @@ -121,6 +121,8 @@ void messageHandler(QtMsgType type, const QMessageLogContext& context, const QSt · 120 unmodified lines | |||
| 121 | QString& Application::resourcesPath() { | 121 | QString& Application::resourcesPath() { |
| 122 | #ifdef Q_OS_MAC | 122 | #ifdef Q_OS_MAC |
| 123 | static QString staticResourcePath = QCoreApplication::applicationDirPath() + "/../Resources/"; | 123 | static QString staticResourcePath = QCoreApplication::applicationDirPath() + "/../Resources/"; |
| 124 | #elif defined Q_OS_LINUX | ||
| 125 | static QString staticResourcePath = "resources/"; | ||
| 124 | #else | 126 | #else |
| 125 | static QString staticResourcePath = QCoreApplication::applicationDirPath() + "/resources/"; | 127 | static QString staticResourcePath = QCoreApplication::applicationDirPath() + "/resources/"; |
| 126 | #endif | 128 | #endif |