Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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

    Hi
    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