mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
removed openpilotgcs hardcoding from qt.conf
This commit is contained in:
parent
402a70f548
commit
1e662d6175
@ -43,7 +43,12 @@ win32 {
|
|||||||
include(../rpath.pri)
|
include(../rpath.pri)
|
||||||
|
|
||||||
equals(copyqt, 1) {
|
equals(copyqt, 1) {
|
||||||
RESOURCES += qtconf.qrc
|
RESOURCES += $$OUT_PWD/qtconf.qrc
|
||||||
|
|
||||||
|
# Copy qtconf.qrc to OUT_PWD because paths are relative
|
||||||
|
# This needs to be done at qmake time because the Makefile depends on it
|
||||||
|
system(cp $$PWD/qtconf.qrc.in $$OUT_PWD/qtconf.qrc)
|
||||||
|
system(printf $$shell_quote([Paths]\nPrefix = $$relative_path($$GCS_QT_BASEPATH, $$GCS_APP_PATH)\n) > $$OUT_PWD/qt.conf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[Paths]
|
|
||||||
Prefix = ../lib/openpilotgcs/qt5/
|
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE RCC><RCC version="1.0">
|
<!DOCTYPE RCC><RCC version="1.0">
|
||||||
<qresource>
|
<qresource>
|
||||||
<file alias="qt/etc/qt.conf">qt.conf</file>
|
<file alias="qt/etc/qt.conf">qt.conf</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
Loading…
x
Reference in New Issue
Block a user