Forums

OverviewV-Play 2 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.v-play.net/plugins/macx)

    #13169

    Alex
    V-Play Team

    Hello Phil,

    Which project are you trying to build?

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

    import VPlayPlugins.facebook 1.0

    to

    import VPlayPlugins 1.0

    and give it another try! Please also make sure that the project file is configured as described here: http://v-play.net/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
    V-Play 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 V-Play 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
    V-Play 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 V-PlaySDK 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
    V-Play Team

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

    #13199

    Günther
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support