forked from meganz/MEGAsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy_qt.cmd
47 lines (40 loc) · 1.29 KB
/
deploy_qt.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SET MEGA_QT_DEPLOY_DIR=qt-deploy-x64
IF [%MEGA_QTPATH%]==[] (
IF NOT [%MEGAQTPATH%]==[] (
SET MEGA_QTPATH=%MEGAQTPATH%
) ELSE (
SET MEGA_QTPATH=C:\Qt\5.15.13\x64
)
)
REM Clean up any previous leftovers
IF EXIST %MEGA_QT_DEPLOY_DIR% (
rmdir /s /q %MEGA_QT_DEPLOY_DIR%
)
mkdir %MEGA_QT_DEPLOY_DIR%
%MEGA_QTPATH%\bin\windeployqt.exe --no-translations --no-compiler-runtime ^
--no-system-d3d-compiler ^
--no-webkit2 --no-qmltooling ^
--no-patchqt --no-designercomponents ^
--dir %MEGA_QT_DEPLOY_DIR% ^
--qmldir src\MEGASync\gui\qml\ ^
build-x64-windows-mega\src\MEGASync\RelWithDebInfo\MEGAsync.exe
rmdir /s /q %MEGA_QT_DEPLOY_DIR%\bearer
rmdir /s /q %MEGA_QT_DEPLOY_DIR%\scenegraph
IF "%MEGA_SKIP_32_BIT_BUILD%" == "true" (
GOTO :EOF
)
SET MEGA_QT_DEPLOY_DIR=qt-deploy-x86
REM Clean up any previous leftovers
IF EXIST %MEGA_QT_DEPLOY_DIR% (
rmdir /s /q %MEGA_QT_DEPLOY_DIR%
)
mkdir %MEGA_QT_DEPLOY_DIR%
%MEGA_QTPATH%\..\x86\bin\windeployqt.exe --no-translations --no-compiler-runtime ^
--no-system-d3d-compiler ^
--no-webkit2 --no-qmltooling ^
--no-patchqt --no-designercomponents ^
--dir %MEGA_QT_DEPLOY_DIR% ^
--qmldir src\MEGASync\gui\qml\ ^
build-x86-windows-mega\src\MEGASync\RelWithDebInfo\MEGAsync.exe
rmdir /s /q %MEGA_QT_DEPLOY_DIR%\bearer
rmdir /s /q %MEGA_QT_DEPLOY_DIR%\scenegraph