summaryrefslogtreecommitdiff
path: root/packaging/qt-win
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qt-win')
-rw-r--r--packaging/qt-win/cleanup.bat2
-rw-r--r--packaging/qt-win/copy_qtdlls.bat28
-rw-r--r--packaging/qt-win/list.txt25
3 files changed, 55 insertions, 0 deletions
diff --git a/packaging/qt-win/cleanup.bat b/packaging/qt-win/cleanup.bat
new file mode 100644
index 0000000..fb8324d
--- /dev/null
+++ b/packaging/qt-win/cleanup.bat
@@ -0,0 +1,2 @@
+del *.dll
+rd /s /q imageformats
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%
diff --git a/packaging/qt-win/list.txt b/packaging/qt-win/list.txt
new file mode 100644
index 0000000..283afa7
--- /dev/null
+++ b/packaging/qt-win/list.txt
@@ -0,0 +1,25 @@
+QTDIR = C:\Qt\5\5.2.1\mingw48_32
+
+%QTDIR%\bin:
+ Qt5Core.dll
+ Qt5Gui.dll
+ Qt5Widgets.dll
+ Qt5Network.dll
+ libwinpthread-1.dll
+ icuin51.dll
+ icuuc51.dll
+ icudt51.dll
+ libgcc_s_dw2-1.dll
+ libstdc++-6.dll
+
+%QTDIR%\plugins\imageformats:
+ qgif.dll
+ qico.dll
+ qjpeg.dll
+ qmng.dll
+ qsvg.dll
+ qtga.dll
+ qtiff.dll
+
+%QTDIR%\plugins\platforms:
+ qtwindows.dll