Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

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

    General and Desktop
    2
    3
    983
    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.
    • K
      Kwabena last edited by

      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 Reply Quote 0
      • raven-worx
        raven-worx Moderators last edited by

        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 Reply Quote 0
        • K
          Kwabena last edited by

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