Enable compilation on FreeBSD (#403)
This commit is contained in:
parent
cebd8cbc19
commit
bcd92c0604
3 changed files with 6 additions and 4 deletions
|
|
@ -103,7 +103,7 @@ main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_WIN)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_WIN) || defined(Q_OS_FREEBSD)
|
||||
if (qgetenv("QT_SCALE_FACTOR").size() == 0) {
|
||||
float factor = utils::scaleFactor();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue