[QTBUG-25999] QDeclarativeView bug...

  • Hi guys, I have discovered bug that crashes my app. I would like to hear from you if it's my fault or not...

    // main.cpp:
    qmlRegisterType<MainWindow>("MainWindow", 1, 0, "MainWindow");

    QDeclarativeView view;


    // main.qml:

    import QtQuick 1.1
    import MainWindow 1.0

    width: 100
    height: 100

    Where MainWindow is a subclass of QGraphicsWidget (or QDeclarativeItem, it doesn't matter)...

    QMetaProperty::read: Unable to handle unregistered datatype 'QGraphicsLayout*' for property 'QGraphicsWidget::layout'
    HEAP[App.exe]: Invalid address specified to RtlValidateHeap( 01460000, 015C6F08 )

  • When do you get this bug ?

  • After closing window -> calling destructor of QmlDesktopViewer ...

  • Can you explain me what is it message:
    LEAK: 226 Structure
    LEAK: 217 Structure

    ? Not very talkative message :DD ... well it's buffer overflow somewhere, I think...

  • Moderators

    Hm, recently I am getting a lot of similarly enigmatic messages from QtQuick 2.0 in Qt Creator...

  • I have pushed it as a bug [QTBUG 25999]...

Log in to reply

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