We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5514dcc commit 25c6dedCopy full SHA for 25c6ded
src/FDMLControl.pro
@@ -42,6 +42,7 @@ else {
42
}
43
44
HEADERS += ./fdmlcontrol.h \
45
+ fdml_commands.xml \
46
./QCustomPlot/qcustomplot.h \
47
authenticationwidget.h \
48
buttonquerywidget.h \
@@ -77,3 +78,15 @@ FORMS += ./ComSettingsWidget.ui \
77
78
RESOURCES += fdmlcontrol.qrc
79
80
RC_ICONS = FDMLControl_icon.ico
81
+
82
+#Copy xml file to application folder
83
+XMLFILE = $$PWD/fdml_commands.xml
84
+win32 {
85
+ XMLFILE = $$shell_path($$PWD/fdml_commands.xml)
86
+ DESTFOLDER = $$shell_path($$DESTDIR)
87
+}
88
+else {
89
+ XMLFILE = $$PWD/fdml_commands.xml
90
+ DESTFOLDER = $$DESTDIR
91
92
+QMAKE_POST_LINK += $$QMAKE_COPY $$quote($${XMLFILE}) $$quote($${DESTFOLDER}) $$escape_expand(\\n\\t)
0 commit comments