Unable to deploy any application on Android - QDebug errors
I am unable to deploy any Qt application on Android. Most of the errors are related to QDebug. Debugging is turned 'on' on the device.
Please help. Is there some other setting that needs to be changed/edited/configured?
Thanks for any inputs.
'QDebug' does not name a type
'QDebug' has not been declared
'QtDebugMsg' was not declared in this scope
Qt - 5.7
Android - 5.1
ABI - armeabi-v7a
GCC - 4.9
Add this include in relevant c++ files and it should work.
I tried that. Although there are no explicit calls to qDebug.
I tried Qt examples to test my dev environment.
Last example that I tried - googlesuggest
The errors are emitting from Qt core files e.g.
Hm, that's unusual. Try reinstalling Qt perhaps?
Reinstalling Qt with latest version. Will update how it goes. Thanks!
@sierdzio Thanks. Reinstalling Qt solved the problem.