OverviewV-Play Plugins Support › Facebook on different qt framework and mingw482_32

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #8293


    We’re trying the facebook plugin and are facing to some issues.
    First, there aren’t any plugins for Qt 5.4.0 (at least, the maintenanceTools doesn’t want to install the plugin). The only way we find is to reinstall the previous version of qt. That’s not a solution because we don’t want to be fully dependant from your versions : Is there a way to download and install your plugin manually in order to use our own qt framework?

    We use the facebook plugin but our application doesn’t need it to work : so we can test our application on windows.
    The issue is that you haven’t any qml file (even empty, that doesn’t matter) for mingw482_32. So how can we compile our application without removing manually the code of the v-play plugin before each test?


    V-Play Team

    Hi Julien,

    you can copy the required files manually, although releasing an app with a Qt Beta version is not recommended. As soon as Qt 5.4 final is out, we will also update all plugins and the V-Play libraries to work with it.

    The required files for the Facebook plugin are (for Android):

    – <QtSDK>\5.3\android_armv7\jar\FacebookPlugin.jar

    – <QtSDK>\5.3\android_armv7\jar\VPlayBasePlugin.jar

    – <QtSDK>\5.3\android_armv7\lib\FacebookPlugin-android-dependencies.xml

    – <QtSDK>\5.3\android_armv7\lib\VPlayBasePlugin-android-dependencies.xml

    – <QtSDK>\5.3\android_armv7\lib\

    – <QtSDK>\5.3\android_armv7\lib\


    We only provide dummy files on desktop for the plugins with the V-Play library yet. So if you are using an empty V-Play project .pro file as a template and import the VPlay.plugins.facebook 1.0 in your qml files, it will also work on Windows. We’ll improve this behavior with the next plugin updates.

    As another workaround, you can also use a Loader component which includes the Facebook item and Facebook import, and only load it on platforms where you are using the Facebook plugin (most probably iOS & Android).

    Cheers, Chris



    Ok, so we have to download with the maintenancetools in old version and just copy manually these files to work.


    For the windows part, it’s what I’ve done but the qml package is unknown (and doesn’t exist in ming32 folders). So, I cannot compile the project.

    Where are your dummy files? (and I don’t know to select import by platform as “if()” doesn’t work outside)

    The plugin was downloaded from the maintenanceTools of Qt 5.3.2 with the repository “



    V-Play Team

    Hi Julien,

    as said, for the dummy files you need to download V-Play, you can then find them in <QtSDK>/5.3/mingw482_32_qml/VPlay

    And for conditional plugin loading (which is not required after downloading V-Play), you can use a Loader like that:


    // ### FacebookItem.qml ### //
    import VPlay.plugins.facebook 1.0
    Facebook {
      // enter licenseKey and other properties here
    // ### main.qml ### //
    import QtQuick 2.0
    Item {
      // NOTE: with downloading VPlay, this workaround is not required, because you can also use a dummy Facebook item on desktop
      // you can access the facebook functionality with this property, but check if facebookSupported is true first
      property alias facebookItem: facebookLoader.item
      property bool facebookSupported: Qt.platform.os === "ios" || Qt.platform.os === "android"
      Loader {
        id: facebookLoader
        // only load the FacebookItem on supported platforms
        source: facebookSupported ? "FacebookItem.qml" : undefined

    Cheers, Chris

    • This reply was modified 3 years, 9 months ago by  Christian.


    Thank you for your answer.

    You need to change your documentation : as there is no link to download the VPlay. I’m using the Qt Enterprise Installer and I followed this doc. It may be enough as I use only the facebook plugin. You could provide VPlay as a standalone (we don’t need to reinstall qt if we have already it)

    So I downloaded the Vplay from here : and added manually the repository
    Next, I checked only the “Qt Ming32” part and the facebook plugin. At the end of the installation, there is still no vplay folder in ming32 qml folder.


    Ok, it’s not as said the plugin-doc but with username and password as said in vplay-installation doc.
    It’s very misleading.

    The vplay folder is present now.

    • This reply was modified 3 years, 9 months ago by  julienw.

    V-Play Team

    Hi Julien,

    if you follow the code above, you do not need the V-Play engine at all (and also don’t need to set CONFIG+= v-play as it is done in the sample projects).

    You also don’t need to reinstall Qt, because you can use the existing Qt installation and just add the repository.


    To install the V-Play engine, follow the guide from the V-Play engine installation docs, which is the repository

    For the plugins, you need to add the repo as described in the V-Play plugin installation docs.

    Both is mentioned in the installation docs.

    Cheers, Chris



    What I’m trying to say is not that it doesn’t work. I try to say that for using only the plugin in a cross-platform solution, I have to install the engine and the plugin, so 2 documentations where there are NO LINK or anything in the plugin documentation. I waste our time just because even if we use ONLY the facebook plugin, we need the engine too while the plugin-documentation say nothing about it.

    Yes your workaround works and thank you very much for that. The point is that we, as developers, don’t have to know on what platform we are when using a cross-platform solution.

    So the dummy files must be in the plugin installation too. Not only in the engine. Or at least for future user, please write something about it in and point to


    By the way, thank you for your help.


    V-Play Team

    Hi Julien,

    you are right, this is currently a paint point and we’ll fix it with the next plugin updates (where the engine will not be required, but a dummy Facebook item will exist on platforms not supported by the plugins, just as we do it at the moment with the engine)! Thanks for bringing that up and sorry for the inconvenience.

    Cheers, Chris

Viewing 8 posts - 1 through 8 (of 8 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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support