Modular application

  • Hello,

    It is my first post here, happy to join the Qt Community!

    I have a question regarding plugins for modular applications.

    Do you know if there is a way to add compiled plugins to a FBS-compiled application?

    I tried with Yapsy. I managed to find python plugins located in the folder "plugins" of my installation folder.
    However, Yaspsy only finds Python plugins (.py files), and not compiled plugins (.pyc, .whl, .pyd or any compiled extension).

    Do you know if there is a way to use QPluginLoader with FBS/PySide2?

    Thank you for your insight.
    Best regards.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do you mean you have a custom plugin you are building yourself ?

  • Hello!

    Yes, I have coded the main app, a GUI able to create Widgets in a graphics Scene. Now, I would like to code plugins to be added to the main app.

    The plugins provide more custom Widgets to the main application.

    The plugins can be built independently from the main application.
    However, once built with FBS, I don't know how to load them.

    Do you have any insights?

    Thank you, have a nice day!

  • Lifetime Qt Champion

    You should check the Plug And Paint example and adapt it to Python.

  • @SGaist Thank you I will try.

Log in to reply