

CodePudding user response:
Qt Quick 2 by default Extension ios Plugin project is compiled into static library and compile successfully, I add the CONFIG in the pro file +=Shared after changing dynamic library, compile time always link failure, in your own code to add the extern "C" int main (int arg C, char * argv []) function (SAO) operation, successful compilation, packed into the ios simulator run, prompt the module "XXX, XXX" plugins "XXX" not found (roughly means can't find the plug-in, path is right, I'll plug-in when ordinary C + + library loading can recruit to the inside of the main function and running), the app can't identify the QML plug-in