Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Every Qml Example is showing meomery leak on iOS
QtWS25 Last Chance

Every Qml Example is showing meomery leak on iOS

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 335 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    inbangsa
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved