A
A
Artyom Sveshnikov2016-07-09 01:02:22
Qt
Artyom Sveshnikov, 2016-07-09 01:02:22

How to deploy Qt applications?

Brief description of the situation:
0) The Qt5.7 library was built using the x86_64-w64-mingw32-g++ cross-compiler on Ubuntu 16.04 LTS OS (and quite successfully checked it on the conditional graphical "Hello World").
1) Along with Qt5.7, the "windeployqt" utility was assembled in a very interesting way (see screenshot).
gFhEiePBFDM.jpg
2) Environment variables are set. The "windeployqt" utility is in place at the specified path. I enter a command. And the result:


[email protected]:~/proj/untitled111/build-untitled111-Qt_5_7_0_i686_cross_compile_shared-Debug/debug$ windeployqt .
Unable to find dependent libraries of /home/artyom/proj/untitled111/build-untitled111-Qt_5_7_0_i686_cross_compile_shared-Debug/debug/untitled111.exe :Not implemented.

Coyd__uVScs.jpg
Those. no matter how it defines this file as a Windows executable and does not find the libraries.
And here the question arises:
How, in this case, to deploy Qt applications? Well, in order to immediately place all the DLL libraries next to the EXE file in Ubuntu.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jacob E, 2016-07-09
@zenitfan2109

Write your own script?

V
Vyacheslav Zolotov, 2016-07-09
@SZolotov

Read about building deb packages that are used in debian systems, in particular in ubuntu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question