Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Error loading qml from resources.qrc

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23763

    Ahmad

    W Gralloc3: mapper 3.x is not supported

    W QtThread: type=1400 audit(0.0:1133): avc: denied { ioctl } for path=”socket:[261990]” dev=”sockfs” ino=261990 ioctlcmd=0x8b07 scontext=u:r:untrusted_app_27:s0:c35,c257,c512,c768 tcontext=u:r:untrusted_app_27:s0:c35,c257,c512,c768 tclass=netlink_route_socket permissive=0

    W libkaid.so: NOTE: you are running a development build in Release Mode. However, the Release mode is recommended only for publish builds that are released to the app stores and for final testing. You can enable a publish build in the config.json file in your qml folder by setting the “stage” property to “publish”. For more information see: https://felgo.net/doc/felgo-publishing/

    : ERROR: the mainQmlFile could not be found! qmlFileName: “qrc:/qml/Main.qml”

    : QQmlApplicationEngine failed to load component

    :-1 Invalid empty URL

    08-29 18:03:02.216 15972 16006 W Kaid :

    F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 16006 (qtMainLoopThrea), pid 15972 (m.runzbuzz.kaid)

     

     

    #include <QApplication>
    #include <FelgoApplication>
    #include <QQmlApplicationEngine>
    int main(int argc, char *argv[])
    {
        QApplication app(argc, argv);
        FelgoApplication felgo;
        felgo.setPreservePlatformFonts(true);
        QQmlApplicationEngine engine;
        felgo.initialize(&engine);
        felgo.setLicenseKey(PRODUCT_LICENSE_KEY);
    //   felgo.setMainQmlFileName(QStringLiteral("qml/Main.qml"));
       felgo.setMainQmlFileName(QStringLiteral("qrc:/qml/Main.qml"));
       engine.load(QUrl(felgo.mainQmlFileName()));
        return app.exec();
    }
    

     

    #23764

    Ahmad

    I found that issue was related to the .pro file. It seems like I can’t delete the post.

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

RSS feed for this thread

You must be logged in to reply to this topic.