mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 08:15:37 +00:00
Don't precompile QML files with disable-prebuilts
This binds us against the exact compile-time version of Qt with no forwards or backwards compatibility, so it must not be used when we could load Qt libraries from a location outside of our app bundle.
This commit is contained in:
parent
17a2548480
commit
d73df12367
@ -12,11 +12,14 @@ include(../globaldefs.pri)
|
|||||||
|
|
||||||
# Precompile QML files to avoid writing qmlcache on portable versions.
|
# Precompile QML files to avoid writing qmlcache on portable versions.
|
||||||
# Since this binds the app against the Qt runtime version, we will only
|
# Since this binds the app against the Qt runtime version, we will only
|
||||||
# do this for Windows and Mac, since they ship with the Qt runtime.
|
# do this for Windows and Mac (when disable-prebuilts is not defined),
|
||||||
win32|macx {
|
# since they always ship with the matching build of the Qt runtime.
|
||||||
|
!disable-prebuilts {
|
||||||
|
win32|macx {
|
||||||
CONFIG(release, debug|release) {
|
CONFIG(release, debug|release) {
|
||||||
CONFIG += qtquickcompiler
|
CONFIG += qtquickcompiler
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user