Changes required to support FreeBSD

This commit is contained in:
Graeme Geldenhuys
2021-12-12 00:35:46 +00:00
parent 80beccb2c4
commit 7179e75e70
16 changed files with 94 additions and 20 deletions

View File

@ -512,7 +512,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// Set up paths
{
// Root path is used for updates.
#ifdef Q_OS_LINUX
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
QDir foo(FS::PathCombine(binPath, ".."));
m_rootPath = foo.absolutePath();
#elif defined(Q_OS_WIN32)