[Solved] Import static plugins in qt application
-
wrote on 8 Sept 2014, 07:39 last edited by
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)..thanks,
-
wrote on 8 Sept 2014, 09:04 last edited by
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...
-
Hi,
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 :)
3/3