summaryrefslogtreecommitdiff
path: root/packaging/qt-win/copy_qtdlls.bat
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
commitd24f813f3f2a05c112e803e4256b53535895fc98 (patch)
tree601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /packaging/qt-win/copy_qtdlls.bat
Initial mirror commitHEADmaster
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%