Every Qml Example is showing meomery leak on iOS



  • I was trying to profile the qml applications with Xcode and every qml application is showing leak on xcode instrument. Is this a problem.

    even smiple loading of the qml is showing leak

    #include <QQmlApplicationEngine>
    #include <QGuiApplication>
    #include <QQmlFileSelector>
    #include <QFileSelector>

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

    QGuiApplication app(argc, argv);
    
    QQmlApplicationEngine engine ;
    
    
    engine.load(QUrl("qrc:/qml/qmls/main.qml"));
        if (engine.rootObjects().isEmpty())
        {
            return -1;
        }
    
    
        return  app.exec();
    

    }

    main. qml is just the applicationWindow.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.