Problem in deploying my application for Android



  • Hello guys
    well i have an almost finished project that i would like to deploy it on android as well.
    so i installed the latest Qt for android and got ndk ,sdk,...
    every thing is fine...but when i want to compile my code i get the message
    " :-1: error: error: unrecognized command line option '-fstack-protector-strong' "
    well got tired of searching internet ,looks like there is something wrong in the compiler side.any idea?



  • here is the libraries that i used for my project.

    #include <QApplication>
    #include <QtSql>
    #include <QMessageBox>
    #include <QMainWindow>
    


  • @md2012 Can you show us the actual build output? It's pretty hard to figure out what's wrong with a build from a plain error like that.

    Without seeing the output my guess would be that the ARM compiler doesn't support that option so remove it from your build. :)


  • Banned

    This post is deleted!


  • well the problem was the android api that i used for my sdk ,it was 2.2 changed it to 4.0 and the error was gone.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.