Home > Mobile >  Qt for ios using QML plug-in
Qt for ios using QML plug-in

Time:10-04

Qt Quick 2 Extension Plugin support ios, project need cross-platform, ios Qt Quick 2 the Extension of the Plugin has been compiled, however, other platforms can be, is there any big used, an error and Qt source is like this drop

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
  •  Tags:  
  • Qt
  • Related