Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creating a standalone static executable file.
Forum Updated to NodeBB v4.3 + New Features

Creating a standalone static executable file.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 270 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ekato993
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AlexMaly
      wrote on last edited by AlexMaly
      #2

      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)

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved