Important: Please read the Qt Code of Conduct -

Is it possible for DLL to access resources from EXE?

  • I have an application consisting of an EXE + a DLL. The main application (EXE) has embedded resources (.qrc). Is it possible to make these resources available to the DLL?

  • Lifetime Qt Champion

    You could

    1. also link the resources into the DLL OR
    2. make the dll use the resources via function calls with the actual type OR
      ( u open/read resource and sent to dll)
    3. make the resource external and make both App and Dll load it.

Log in to reply