Important: Please read the Qt Code of Conduct -

Creating a standalone static executable file.

  • I have a Qt Widgets Application.

    I know that if I want to crearte dynamic linked executable I use windeployqt.exe ****.exe, but it creates multiple dll file.

    I just wondering how to make a portable one file deployment version.

    I am using win10, qt 5.15.2 with mingw 64 bit.

  • build qt statically ,then build your application against it. Be ready to publish your source code if you do not have a commercial license.

    This might be a non-trivial tasks, for example if you used MSVC c-runtime might be still needed to be included (unless static c runtime are used)

Log in to reply