Generate fonts.qss dynamically during build

The static font size and weight looked odd on Mac OS.
QSS does not support different platform specific styles. Hence the platform
scopes had to be added to blackgui.pro and fonts.qss generated during
build process.

refs 936
This commit is contained in:
Roland Winklmeier
2017-04-14 14:54:33 +02:00
committed by Mathew Sutcliffe
parent 3d496c6df8
commit 4076722aab
3 changed files with 24 additions and 9 deletions

View File

@@ -1,7 +0,0 @@
QWidget {
color: white;
font-family: "Arial";
font-size: 8pt;
font-style: normal;
font-weight: bold;
}

View File

@@ -0,0 +1,7 @@
QWidget {
color: white;
font-family: $$QSS_FONT_FAMILY;
font-size: $$QSS_FONT_SIZE pt;
font-style: $$QSS_FONT_STYLE;
font-weight: $$QSS_FONT_WEIGHT;
}