forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI_dll_setup_mingw.bat
80 lines (71 loc) · 2.33 KB
/
GUI_dll_setup_mingw.bat
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
:: Necessary Qt dlls are packaged with every release.
:: These dlls are not included in the SVN.
:: They need to be copied into the dev area from the Qt install.
:: Qt-Framework can be found at: http://qt-project.org/downloads
:: As of this writing, the default locations from which to gather the dlls are:
:: Qt-Framework: C:\Qt\Qt5.1.0
:: Update the qt_dir as necessary
set qt_dir=C:\Qt\Qt5.3\mingw482_32
:: IMPORTANT NOTE FOR DEBUGGING
:: This script will ONLY copy the optimized Qt dlls
:: The MSVC 2008 simcqt.vcproj file is setup to use optimized dlls for both Debug/Release builds
:: This script needs to be smarter if you wish to use the interactive debugger in the Qt SDK
:: The debug Qt dlls are named: Qt___d4.dll
:: Removing existing dlls
del /q imageformats
del /q phonon5.dll
del /q Qt5Core.dll
del /q Qt5OpenGL.dll
del /q Qt5PrintSupport.dll
del /q Qt5Quick.dll
del /q Qt5Qml.dll
del /q Qt5V8.dll
del /q Qt5Sql.dll
del /q Qt5Gui.dll
del /q Qt5Widgets.dll
del /q Qt5Network.dll
del /q Qt5WebKit.dll
del /q Qt5WebKitWidgets.dll
del /q Qt5Multimedia.dll
del /q Qt5MultimediaWidgets.dll
del /q Qt5Sensors.dll
del /q D3DCompiler_43.dll
del /q libGLESv2.dll
del /q icudt51.dll
del /q icuin51.dll
del /q icuuc51.dll
del /q libEGL.dll
del /q mingw*.dll
del /q libgcc*.dll
del /q libstd*.dll
del /q libwinpthread-1.dll
del /q platforms
:: Copying new dlls
xcopy /I %qt_dir%\plugins\imageformats imageformats
xcopy %qt_dir%\bin\phonon5.dll
xcopy %qt_dir%\bin\Qt5Core.dll
xcopy %qt_dir%\bin\Qt5OpenGL.dll
xcopy %qt_dir%\bin\Qt5PrintSupport.dll
xcopy %qt_dir%\bin\Qt5Quick.dll
xcopy %qt_dir%\bin\Qt5Qml.dll
xcopy %qt_dir%\bin\Qt5V8.dll
xcopy %qt_dir%\bin\Qt5Sql.dll
xcopy %qt_dir%\bin\Qt5Gui.dll
xcopy %qt_dir%\bin\Qt5Widgets.dll
xcopy %qt_dir%\bin\Qt5Network.dll
xcopy %qt_dir%\bin\Qt5WebKit.dll
xcopy %qt_dir%\bin\Qt5WebKitWidgets.dll
xcopy %qt_dir%\bin\Qt5Multimedia.dll
xcopy %qt_dir%\bin\Qt5MultimediaWidgets.dll
xcopy %qt_dir%\bin\Qt5Sensors.dll
xcopy %qt_dir%\bin\libGLESv2.dll
xcopy %qt_dir%\bin\icudt51.dll
xcopy %qt_dir%\bin\icuin51.dll
xcopy %qt_dir%\bin\icuuc51.dll
xcopy %qt_dir%\bin\libEGL.dll
xcopy %qt_dir%\bin\D3DCompiler_43.dll
xcopy %qt_dir%\bin\libstdc++-6.dll
xcopy %qt_dir%\bin\libgcc_s_sjlj-1.dll
xcopy %qt_dir%\bin\libwinpthread-1.dll
xcopy %qt_dir%\plugins\platforms\qminimal.dll platforms\
xcopy %qt_dir%\plugins\platforms\qwindows.dll platforms\