Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to add platforms/plugins (qwindows.dll/QtQuick folder) to a static build?
Forum Updated to NodeBB v4.3 + New Features

How to add platforms/plugins (qwindows.dll/QtQuick folder) to a static build?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    rmdev
    wrote on last edited by
    #1

    Hello,

    I'm trying to compile a static version of the executable, but some of the required elements always seem to be missing and I don't know how to add them to the executable. As of now I always have to deploy them together with the executable.

    I'm using Qt 5.3.0

    In detail I'm talking about the following files:
    ../platforms/qwindows.dll
    ../QtQuick/ (and all the files in there)
    ../QtQuick.2/ (and all the files in there)

    So now the deployed folder looks like this:
    ../platforms/qwindows.dll
    ../QtQuick/ (and all the files in there)
    ../QtQuick.2/ (and all the files in there)
    ../gallery.exe
    ../libgcc_s_dw2-1.dll
    ../libstdc++-6.dll
    ../libwinpthread-1.dll

    While I'd like it to look just like this:
    ../gallery.exe
    ../libgcc_s_dw2-1.dll
    ../libstdc++-6.dll
    ../libwinpthread-1.dll

    I'd be very thankful if someone could find a solution for this.

    Edit:
    It seems the platforms folder is not needed anymore. Still leaves both of the QtQuick folders.

    1 Reply Last reply
    0

    • Login

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