Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android Application in Qt : Error When Try To Build Application



  • Hello Friends I am fresher in Qt Android Toolkit

    When I try to build my application

    Some error are raised

    i am using windows 10
    my qt version is : 5.12.3
    toolkit is : Android_for_armeabi_v7a_Clang

    My Android Settings is :
    Screenshot (9).png

    Error Is :

    when i bulid my application that time this error are occurred

    :-1: error: error: cannot find -lc++

    :-1: error: linker command failed with exit code 1 (use -v to see invocation)

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    i did't get what's wrong in this

    please help me to solve my problem

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////



  • @Ketan__Patel__0011 ,
    Try add this into your *.pro file then clean and rebuild:

    android: {
        QMAKE_LFLAGS += -nostdlib++
    }
    

    I worked well with me!



  • @Ketan__Patel__0011 ,
    Try add this into your *.pro file then clean and rebuild:

    android: {
        QMAKE_LFLAGS += -nostdlib++
    }
    

    I worked well with me!


Log in to reply