summaryrefslogtreecommitdiff
path: root/packaging/qt-win/copy_qtdlls.bat
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qt-win/copy_qtdlls.bat')
-rw-r--r--packaging/qt-win/copy_qtdlls.bat28
1 files changed, 28 insertions, 0 deletions
diff --git a/packaging/qt-win/copy_qtdlls.bat b/packaging/qt-win/copy_qtdlls.bat
new file mode 100644
index 0000000..09b372d
--- /dev/null
+++ b/packaging/qt-win/copy_qtdlls.bat
@@ -0,0 +1,28 @@
+call cleanup.bat
+
+copy %QTDIR%\bin\Qt5Core.dll .
+copy %QTDIR%\bin\Qt5Gui.dll .
+copy %QTDIR%\bin\Qt5Widgets.dll .
+copy %QTDIR%\bin\Qt5Network.dll .
+copy %QTDIR%\bin\libwinpthread-1.dll .
+copy %QTDIR%\bin\icuin51.dll .
+copy %QTDIR%\bin\icuuc51.dll .
+copy %QTDIR%\bin\icudt51.dll .
+copy %QTDIR%\bin\libgcc_s_dw2-1.dll .
+copy %QTDIR%\bin\libstdc*-6.dll .
+
+set QTIMG_PLUGINS=%QTDIR%\plugins\imageformats
+set DSTIMG_PLUGINS=.\imageformats
+mkdir %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qgif.dll %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qico.dll %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qjpeg.dll %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qmng.dll %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qsvg.dll %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qtga.dll %DSTIMG_PLUGINS%
+copy %QTIMG_PLUGINS%\qtiff.dll %DSTIMG_PLUGINS%
+
+set QT_PLATFORMS=%QTDIR%\plugins\platforms
+set DST_PLATFORMS=.\platforms
+mkdir %DST_PLATFORMS%
+copy %QT_PLATFORMS%\qwindows.dll %DST_PLATFORMS%