[Interest] Official linuxdeployqt ?

Cristian Adam cristian.adam at qt.io
Fri Aug 5 10:46:13 CEST 2022


Hi,

CMake has since version 3.16 an extension for its file command, namely GET_RUNTIME_DEPENDENCIES<https://cmake.org/cmake/help/latest/command/file.html?#get-runtime-dependencies>.

I used it for Qt Creator to deploy all dependencies on Windows, Linux, macOS from CMake.
As it turns out Qt Creator already had python script for deployment, and the CMake only solution got sacked at
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/322646

It took part of MSVC, or MinGW (both GCC and LLVM flavors) C++ runtime DLLs, but that's more on the Windows side.

Alternatively, you can do a static build and forget about deployment issues 🙂

Cheers,
Cristian.

________________________________
From: Interest <interest-bounces at qt-project.org> on behalf of Scott Bloom <scott at towel42.com>
Sent: Thursday, August 4, 2022 7:42 PM
To: interest at qt-project.org <interest at qt-project.org>
Subject: [Interest] Official linuxdeployqt ?


Is there a Qt supported linuxdeployqt comparable to the windeployqt?

I found the 3rd party version, but the command line args are very different.



Also, is anyone on the Qt side, create a CMake function for this?



Where inside CMake, you could call “DeployQt( <target> )” and it would find all the dependencies and create a list of files in cmake etc



Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220805/61a4f99b/attachment.htm>


More information about the Interest mailing list