Ref T34, added font.qss (generic and specific for MacOS) and removed build based qss

This commit is contained in:
Klaus Basan
2017-04-21 21:41:36 +02:00
parent ce8e5c1f10
commit f37057f761
4 changed files with 14 additions and 21 deletions

View File

@@ -53,20 +53,6 @@ RESOURCES +=
DESTDIR = $$DestRoot/lib
DLLDESTDIR = $$DestRoot/bin
QSS_FONT_FAMILY = "Arial"
QSS_FONT_SIZE = "8"
QSS_FONT_STYLE = "normal"
QSS_FONT_WEIGHT = "bold"
macx {
QSS_FONT_SIZE = "12"
QSS_FONT_WEIGHT = "normal"
}
fontsqss.input = share/qss/fonts.qss.in
fontsqss.output = $$DestRoot/share/qss/fonts.qss
QMAKE_SUBSTITUTES += fontsqss
OTHER_FILES += ./share/qss/*.qss ./share/qss/*.qss.in ./share/qss/*.css
COPY_FILES += $$PWD/share/qss/*.qss
COPY_FILES += $$PWD/share/qss/*.css

View File

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

View File

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

View File

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