Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Designing a module framework for my application



  • Hello,

    I am interested in making loadable 'modules' for my web browser. Modules are 'sandboxed' away from the rest of the web browser, but still have some access to various slots. An example would be an image processing program that receives input from the browser and then outputs the results back to the web browser. I have been thinking about getting into QProcess for these modules but I'm not sure. Here are my questions:

    1. how can I tell the browser which modules to load? I've been thinking about using XML.
    2. how do I sandbox and run these modules? Ive been thinking about QProcess.
    3. how do I send/receive data to and from the modules and let the modules have access to SOME slots.
    4. how do I let modules interact with widgets in the main browser?

    I know thats a lot of questions, but Im really interested. I suppose my 'modules' are similar to how other browser extensions work such as adding elements to the GUI, etc.

    Thanks!


Log in to reply