Important: Please read the Qt Code of Conduct -

IOS & libstdc++

  • make gives error while compile for IOS with following configuration;

    error : ld: warning: ignoring file /Applications/, missing required architecture armv7 in file /Applications/

    .pro is;

    	ios {
    		CONFIG				+=	shared
    		CONFIG				+= c++11
    		LIBS				+= /Applications/

    ... but when "shared" changed to "app" is Ok !...

    I have already tried several configuration to solve it...


  • Lifetime Qt Champion


    Why are you linking to libstdc++ like that ?

    Qt already links to the correct version of the C++ library needed.

  • @SGaist Good point ! But I am using 3rd framework for IOS, and it needs. I don't know why ? Problem is when I changed to app from shared lib then it is compile without error.

  • Lifetime Qt Champion

    I don't either.

    However it still looks fishy to link to a library for the simulator while it looks like you are building an application for a device.

  • @SGaist Thanks... I am still working on it...

Log in to reply