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


OverviewFelgo 3 Support (Qt 5) › Release Build Issue

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #16449



    I just tried building a project in release mode. I’m on Mac OS and building for iOS.

    Even with a newly created empty v-play games project I get this message:



    WARNING: you are building a publishBuild, but your mainQmlFile entry point is not loaded from RESOURCES but with DEPLOYMENTFOLDERS. This would allow others to inspect your QML sources! To avoid that and to secure your source code, perform the following steps:

    1.) Create a .qrc file similar to the ones from the Felgo demos and enable RESOURCES += resources.qrc in your .pro file.

    2.) Remove the DEPLOYMENTFOLDERS += qmlFolder line from the .pro file.

    3.) Set the main qml file to “qrc:/qml/Main.qml” in your main.cpp.





    My main.cpp looks like this:

    int main(int argc, char *argv[])


        QApplication app(argc, argv);
        VPApplication vplay;
        QQmlApplicationEngine engine;
        return app.exec();





        "title": "Untitled1",
        "identifier": "com.alb.Untitled1",
        "orientation": "landscape",
        "versioncode": 1,
        "versionname": "1.0",
        "stage": "publish"


    the relevant part of my .pro:

    qmlFolder.source = qml

    assetsFolder.source = assets
    DEPLOYMENTFOLDERS += assetsFolder
    RESOURCES +=  resources.qrc # uncomment for publishing


    The resources.qrc is the one created by the application wizard and other than adding a licence key, the project is just an empty project. I still get the message and the app is over 250mb when deployed to and iPhone (around 130mb in debug mode).


    Is there anything I’m missing? I’ve done this before with previous versions of v-play and it worked fine so I’m wondering if it could be something to do with the latest update.








    Felgo Team

    Hi Isak,

    Thanks for bringing this to our attention! If you correctly removed DEPLOYMENTFOLDERS and switched to resources, your sources are protected with the QRC system – the message is wrongly displayed in this case.

    We will fix this for one of the next updates!




    Hi, thanks for getting back to me.

    What about that app size? I don’t remember an empty v-play project being 250mb (release mode) before. Is that to be expected? The showcase app in the app store is just over 50mb i think.


    Felgo Team


    The app size of the built binary you see in your file system does not match the actual size after uploading it to the stores.

    The package for example contains multiple versions for different device architectures, but only the required parts are shipped by Apple in the Stores then after uploading.




    Great, thanks for your help.

Viewing 5 posts - 1 through 5 (of 5 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