Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
b770e041
Commit
b770e041
authored
Sep 30, 2019
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
packaging: use qt deployment tool to harvest qt deps
Change-Id: I337a5ab4541bf09e6326a7e420472c8e852aa1c6
parent
c2e6729f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
copy-runtime-files.ps1
+2
-86
2 additions, 86 deletions
copy-runtime-files.ps1
with
2 additions
and
86 deletions
copy-runtime-files.ps1
+
2
−
86
View file @
b770e041
...
...
@@ -48,92 +48,8 @@ foreach ($i in $FilesToCopy) {
############
# qt
############
# qt bin files
$FilesToCopy
=
@(
"
$QtDir
\bin\Qt5Core.dll"
,
"
$QtDir
\bin\Qt5Gui.dll"
,
"
$QtDir
\bin\Qt5Network.dll"
,
"
$QtDir
\bin\Qt5Positioning.dll"
,
"
$QtDir
\bin\Qt5PrintSupport.dll"
,
"
$QtDir
\bin\Qt5Qml.dll"
,
"
$QtDir
\bin\Qt5Quick.dll"
,
"
$QtDir
\bin\Qt5QuickWidgets.dll"
,
"
$QtDir
\bin\Qt5Sql.dll"
,
"
$QtDir
\bin\Qt5Svg.dll"
,
"
$QtDir
\bin\Qt5WebChannel.dll"
,
"
$QtDir
\bin\Qt5WebEngine.dll"
,
"
$QtDir
\bin\Qt5WebEngineCore.dll"
,
"
$QtDir
\bin\Qt5WebEngineWidgets.dll"
,
"
$QtDir
\bin\Qt5Widgets.dll"
,
"
$QtDir
\bin\Qt5WinExtras.dll"
,
"
$QtDir
\bin\Qt5Xml.dll"
,
"
$QtDir
\bin\Qt5Multimedia.dll"
,
"
$QtDir
\bin\Qt5MultimediaWidgets.dll"
,
"
$QtDir
\bin\Qt5OpenGL.dll"
,
"
$QtDir
\bin\libEGL.dll"
,
"
$QtDir
\bin\libGLESv2.dll"
,
"
$QtDir
\bin\d3dcompiler_47.dll"
,
"
$QtDir
\bin\QtWebEngineProcess.exe"
)
foreach
(
$i
in
$FilesToCopy
)
{
write-host
"copying: "
$i
" => "
$OutDir
-ForegroundColor
Cyan
Copy-Item
-Path
$i
-Destination
$OutDir
-Force
}
# qt resources
$FilesToCopy
=
@(
"
$QtDir
\resources\qtwebengine_resources.pak"
,
"
$QtDir
\resources\qtwebengine_resources_100p.pak"
,
"
$QtDir
\resources\qtwebengine_resources_200p.pak"
,
"
$QtDir
\resources\qtwebengine_devtools_resources.pak"
,
"
$QtDir
\resources\icudtl.dat"
)
$CopyDir
=
$OutDir
+
"\resources"
If
(
!
(
test-path
$CopyDir
))
{
New-Item
-ItemType
directory
-Path
$CopyDir
-Force
}
foreach
(
$i
in
$FilesToCopy
)
{
write-host
"copying: "
$i
" => "
$CopyDir
-ForegroundColor
Cyan
Copy-Item
-Path
$i
-Destination
$CopyDir
-Force
}
# qt qtwebengine_locales
$FilesToCopy
=
@(
"
$QtDir
\translations\qtwebengine_locales\en-US.pak"
)
$CopyDir
=
$OutDir
+
"\translations\qtwebengine_locales"
If
(
!
(
test-path
$CopyDir
))
{
New-Item
-ItemType
directory
-Path
$CopyDir
-Force
}
foreach
(
$i
in
$FilesToCopy
)
{
write-host
"copying: "
$i
" => "
$CopyDir
-ForegroundColor
Cyan
Copy-Item
-Path
$i
-Destination
$CopyDir
-Force
}
# qt imageformats
$FilesToCopy
=
@(
"
$QtDir
\plugins\imageformats\qgif.dll"
,
"
$QtDir
\plugins\imageformats\qico.dll"
,
"
$QtDir
\plugins\imageformats\qjpeg.dll"
,
"
$QtDir
\plugins\imageformats\qsvg.dll"
)
$CopyDir
=
$OutDir
+
"\imageformats"
If
(
!
(
test-path
$CopyDir
))
{
New-Item
-ItemType
directory
-Path
$CopyDir
-Force
}
foreach
(
$i
in
$FilesToCopy
)
{
write-host
"copying: "
$i
" => "
$CopyDir
-ForegroundColor
Cyan
Copy-Item
-Path
$i
-Destination
$CopyDir
-Force
}
# qt platform dll for windows
$CopyDir
=
$OutDir
+
"\platforms"
If
(
!
(
test-path
$CopyDir
))
{
New-Item
-ItemType
directory
-Path
$CopyDir
-Force
}
$file
=
"
$QtDir
\plugins\platforms\qwindows.dll"
write-host
"copying: "
$file
" => "
$CopyDir
-ForegroundColor
Cyan
Copy-Item
-Path
$file
-Destination
$CopyDir
-Force
# qt sql driver
$CopyDir
=
$OutDir
+
"\sqldrivers"
If
(
!
(
test-path
$CopyDir
))
{
New-Item
-ItemType
directory
-Path
$CopyDir
-Force
}
$file
=
"
$QtDir
\plugins\sqldrivers\qsqlite.dll"
write-host
"copying: "
$file
" => "
$CopyDir
-ForegroundColor
Cyan
Copy-Item
-Path
$file
-Destination
$CopyDir
-Force
$windeployqt
=
"
$QtDir
\bin\windeployqt.exe
$OutDir
\Jami.exe"
iex
$windeployqt
# ringtones
$CopyDir
=
$OutDir
+
"\ringtones"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment