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. How to determine what plugins are needed for deployment in Windows?
Forum Updated to NodeBB v4.3 + New Features

How to determine what plugins are needed for deployment in Windows?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.6k 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.
  • Q Offline
    Q Offline
    qttester5
    wrote on last edited by
    #1

    I am testing a deployment of the Minehunt app included in the Qt demos. It launches but only an all-white screen. This is usually due to plugins missing, from what I've read. So I placed ALL the directories inside the plugins directory into the same directory as my executable, just to ensure it had everything. Still an all-white screen. The QML directory is also in that same directory and it lines up with the path to the QML files specified in main.cpp, the same path that works when I deploy simpler Quick apps as well, so I don't think that is the issue.

    What could cause an all-white screen and is there a more specific way to figure out what is missing in the deployment?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chris17
      wrote on last edited by
      #2

      You may have a look at @QCoreApplication::addLibraryPath ( const QString & path)@ to tell your application where to find the plugins.

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        Tools that may come in handy for that (for Windows):

        you can use "ProcessExplorer":http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx and see which libraries are loaded by your application

        use "DependencyWalker":http://www.dependencywalker.com/ to check the linked dependent libraries of your application

        or use "windeployqt":http://qt.gitorious.org/qt/qttools/source/ab1fe38abce2e6add51ad8ead7ac96002101fed3:src/windeployqt from the QtTools module (inofficial AFAIK)

        And of course read "this guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html ;)

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qttester5
          wrote on last edited by
          #4

          The information in the Windows deployment guide is too vague and incomplete to be useful for most developers who are new to Qt. For example, you can follow all the instructions there perfectly and still find that demo apps installed with Qt do not run properly because plugins are missing, and it can be very hard to track down which ones and why.

          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