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 know what plugins are needed by your application for deployment (Qt5)?
QtWS25 Last Chance

How to know what plugins are needed by your application for deployment (Qt5)?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k 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.
  • K Offline
    K Offline
    Kwabena
    wrote on last edited by
    #1

    Unlike the most important dll's the application will start without some plugins loaded. However, is there anyway to get the list of all plugins needed for every function in your application?

    I'm not specifically loading plugins either. These are plugins needed by function calls to things in Qt's modules (core, gui, widgets, etc). So think standard project with nothing special.

    The official documentation doesn't address this problem. Google searching didn't help either.

    I don't want to have to manually test every feature of my application to find what can fail. It would be nice to know ahead of time every dll that will be needed.

    ...

    For a concrete example lets say I have a QPixmap class and I want to save it to an image. If I try to do this without the proper imageformats/q*.dll available then the function call will fail (return an error code). However, this is a run time error that happens after the application is already open and running. The application doesn't crash either. The function call just fails.

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

      because of the dynamic nature of plugins you wont have a chance.

      But for example when you work on windows you can once use every feature in your application and use "ProcessExplorer":http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx to check which plugins are loaded.

      Or to be sure just deploy the whole plugins folder with your application, but i guess thats not an option to you?

      --- 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
      • K Offline
        K Offline
        Kwabena
        wrote on last edited by
        #3

        That's what I'm doing. Since its only about 4 MB more who cares. My whole installation for my app is about 500 MB anyway.

        Haha... sigh

        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