Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Problems installing the plugins

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #13168

    Phil

     

    The plugins cannot be found when I deploy for the iPhone.  I have the following error at runtime:

    QQmlApplicationEngine failed to load component
    qrc:///qml/main.qml:295 Type FacebookPage unavailable
    qrc:///qml/content/FacebookPage.qml:3 module “VPlayPlugins.facebook” is not installed

     

    I did add the correct repository in the MaintenanceTool (https://sdk.felgo.com/plugins/macx)

    #13169

    Alex
    Felgo Team

    Hello Phil,

    Which project are you trying to build?

    If you already upgraded to Felgo 2.8.2 you don’t need to add the plugin repository, as plugins are already part of Felgo Engine itself. Please change the line

    import VPlayPlugins.facebook 1.0

    to

    import Felgo 3.0

    and give it another try! Please also make sure that the project file is configured as described here: http://felgo.com/doc/plugin-facebook/#ios-integration-steps

     

    Best,

    Alex

    #13170

    Phil

    Thanks for your quick response.  Now I have the following error message:

    QQmlApplicationEngine failed to load component

    qrc:///qml/main.qml:295 Type FacebookPage unavailable

    qrc:///qml/content/FacebookPage.qml:3 module “VPlayPlugins” is not installed

     

    This is one of my own project based on the Facebook sample.

    #13171

    Phil

    The “old” way using “import VPlayPlugins.facebook 1.0” works on the MacOSX desktop and the Android.

    #13175

    Phil

    Yeah I followed all steps (removed plugins, using licenseKey in App, using ios pro file settings) and I still have the same problem.

     

    When was version 2.8.2 released exactly?  Because perhaps my new licenseKey is not working?

    #13176

    Günther
    Felgo Team

    Hi Phil!

    Does the FacebookSample work or is only your custom project affected?

    Can you please try again after uninstalling the old plugin versions from your Felgo installation (By unchecking them in the “Add or Remove Components” window of the MaintenanceTool). Also, again please make sure that you do a completely fresh and clean build as mentioned in the other post.

    Best,
    Günther

    #13177

    Günther
    Felgo Team

    Hi Phil!

    2.8.2 was released last Friday, April 29th.

    #13178

    Phil

    Because I am using an installer I downloaded on Thursday (601.4 MB) and I reinstalled many times the FelgoSDK using it.  Now I am downloading the new installer.

    #13179

    Phil

    No I reinstalled everything on Linux and MacOSX and I still have the same problem.  Is that supposed to happen if I used the wrong licenseKey in the App?  Did the licenseKey change?

    #13188

    Günther
    Felgo Team

    Hi Phil!
    Do you use the Facebook plugin standalone (in a Qt application) or within a Felgo Game or App project?

    #13199

    Günther
    Felgo Team

    I just sent you an email to follow up concerning this issue.

    Best,
    Günther

    #13213

    Phil

    The example you sent works on the iPhone (iOS).  So I will check this out later, thanks a lot!

    #13282

    Phil

    For the record, the solution was to also instantiate the application using VPApplication:

    QApplication app(argc, argv);
    VPApplication vplay;
    vplay.setPreservePlatformFonts(true);
    Main m;
    vplay.initialize(&m);
    vplay.setMainQmlFileName(QStringLiteral("qrc:///qml/main.qml"));
    m.load(QUrl(vplay.mainQmlFileName()));
    return app.exec();

     

Viewing 13 posts - 1 through 13 (of 13 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded