-
Notifications
You must be signed in to change notification settings - Fork 0
deployqt
klabarge edited this page Mar 6, 2018
·
4 revisions
-
Open trax project in Qt and
buildREM add QT's bin directory to PATH to get access to `windeployqt` REM TODO, determine location via https://superuser.com/questions/539666/how-to-get-the-visual-studio-installation-path-in-a-batch-file#answer-992252 set PATH=%PATH%;C:\Qt\Qt5.10.0\5.10.0\msvc2017_64\bin REM set home directory for Visual Studio set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC REM use `windeployqt` windeployqt C:\Users\Kyle\build-tray-Desktop_Qt_5_10_0_MSVC2017_64bit-Debug\bin\Tray.exe
-
The only missing DLL was
ucrtbased.dll, which I placed in the BIN directory.
$~: macdeployqt /Users/kyle/build-tray-Desktop_Qt_5_10_0_clang_64bit-Debug/bin/Tray.app-
Set
qmakeversion to downloaded version# edit default.conf :~$ sudo vi /usr/lib/x86_64-linux-gnu/qtchooser/default.conf # modify the two paths in this file to the bin and lib directories /path/to/Qt5.10.0/5.10.0/gcc_64/bin /path/to/Qt5.10.0/5.10.0/gcc_64/lib
-
Download
linuxdeployqt# Download :~$ wget https://github.com/probonopd/linuxdeployqt/archive/continuous.zip # Extract :~$ chmod a+x linuxdeployqt-continuous-x86_64.AppImage # Run :~$ ./linuxdeployqt-continuous-x86_64.AppImage build-tray-Desktop_Qt_5_10_0_GCC_64bit-Debug/bin/Tray
-
Install sql libraries
Per an upstream bug, all sql plugins are deployed. https://github.com/probonopd/linuxdeployqt/issues/235
###TODO
:~$