mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
GCS-Change the way the stylesheets are copied (was not working for me)
Also copy the default configuration xml files. These are now on the shared folder together with the stylesheet instead of being inside a resource file. Stylesheets and configuration files are now copied from SRC/SHARED to APP/SHARED
This commit is contained in:
parent
e033004656
commit
9da1372e54
@ -3,7 +3,7 @@ include(../openpilotgcs.pri)
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = openpilotgcs/translations
|
||||
|
||||
DATACOLLECTIONS = dials models pfd sounds diagrams mapicons
|
||||
DATACOLLECTIONS = dials models pfd sounds diagrams mapicons stylesheets default_configurations
|
||||
|
||||
equals(copydata, 1) {
|
||||
for(dir, DATACOLLECTIONS) {
|
||||
|
@ -28,15 +28,3 @@ win32 {
|
||||
}
|
||||
|
||||
OTHER_FILES += openpilotgcs.rc
|
||||
|
||||
STYLESHEETS = windows.qss \
|
||||
macos.qss \
|
||||
linux.qss
|
||||
|
||||
for(qss, STYLESHEETS) {
|
||||
style_copy.commands += $(COPY_FILE) $$targetPath(\"$$GCS_SOURCE_TREE/src/app/stylesheets/$$qss\") $$targetPath(\"$$GCS_APP_PATH/$$qss\") $$addNewline()
|
||||
}
|
||||
|
||||
style_copy.target = FORCE
|
||||
QMAKE_EXTRA_TARGETS += style_copy
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user