How to import extension plugin in qt quick application

  • Hi,
    I am trying to import a custom extension plugin (implemented in c++) in a qml file which is loaded in a qml application engine. However i get this error :
    QQmlApplicationEngine failed to load component
    qrc:///main.qml:3 module "SocketPlugin" is not installed
    I have tried this plugin in a Qt Quick UI project and it works fine.
    How do i specify the location of this plugin to the c++ application?

Log in to reply