Important: Please read the Qt Code of Conduct -

[Solved] Import static plugins in qt application

  • Hi,
    I have Qt application for find available wifi connections in local area, application build by Qt 4.8.4 static source. now i want to run the application in desktop but it is not showing available wifi connections, why because i did't import the qnativewifibearer.prl (bearer) plugin in my project.. so any one can tell how to import the bearer plugin in qt application(pro file)..


  • I found the solution for this,
    add QTPLUGIN += qnativewifibearer in .pro file.

    add #include<QtPlugin>,
    Q_IMPORT_PLUGIN(nativewifibearer) in main.cpp file.

    It is working fine for me...

  • Lifetime Qt Champion


    Nice you found out and thanks for sharing.

    Please update the thread title prepending [solved] so other forum users may know a solution has been found :)

Log in to reply