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 find out plugins that my app needs

How to find out plugins that my app needs

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 886 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.
  • S Offline
    S Offline
    Script22
    wrote on last edited by
    #1

    I'm trying to write a tool for linux that would help with deployment, I was wondering if there's a way to get the plugins that my app needs.

    I can find out the so files that the application needs using

    ldd binaryFile
    

    but, for example if the application uses any plugin, for example any of the imageformats plugins, I can not know unless I run it on another system and debug the error messages

    So my question is, Is there a way to get all the dependencies my app needs so that I can automate the deployment process

    PS, Yes I took a look at linuxdeployqt :D

    1 Reply Last reply
    1
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, one simple way: when you have your Qt app running:

      lsof -c binaryfile
      

      Embedded in the long list are all the .dll/.so files the app uses.

      1 Reply Last reply
      3
      • S Offline
        S Offline
        Script22
        wrote on last edited by
        #3

        Thank you @hskoglund !!!
        Simple and to the point !

        1 Reply Last reply
        1

        • Login

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