Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Installation and Deployment
    1
    1
    997
    Loading More Posts
    • 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
      rmdev last edited by

      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 Reply Quote 0
      • First post
        Last post