add deploy script example for Windows to docu
This commit is contained in:
parent
c52c34de6c
commit
df13447cde
1 changed files with 19 additions and 0 deletions
|
|
@ -17,6 +17,25 @@
|
|||
</ul>
|
||||
<p><b>[Unix]</b><br>Deploy the installed libraries from <code>/usr/local/lib/</code>, because they have already been stripped, and are therefore smaller.</p>
|
||||
<p>A detailed description of deploying Qt applications can be found in Qt Assistant (see especially <code>windeployqt</code> and <code>macdeployqt</code> for those specific platforms).</p>
|
||||
<p>Since some steps in this process may not be obvious, here an example of a simple/basic <code>deploy.bat</code> script for the <b>Windows</b> platform:</p>
|
||||
<pre style="color: black; background-color: #F4F4F4;">
|
||||
|
||||
mkdir setup
|
||||
mkdir setup\encodings
|
||||
del setup\my_app.exe
|
||||
|
||||
copy c:\ecl\msvc\package\ecl.dll setup\
|
||||
copy c:\ecl\msvc\package\encodings\*.* setup\encodings\
|
||||
copy c:\eql5\eql5.dll setup\
|
||||
copy c:\eql5\eql5_quick.dll setup\
|
||||
copy c:\eql5\eql5_network.dll setup\
|
||||
copy release\my_app.exe setup\
|
||||
|
||||
windeployqt.exe --release --qmldir ./qml setup/my_app.exe
|
||||
windeployqt.exe --release --qmldir ./qml setup/eql5.dll
|
||||
windeployqt.exe --release --qmldir ./qml setup/eql5_quick.dll
|
||||
windeployqt.exe --release --qmldir ./qml setup/eql5_network.dll
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue