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. [QTBUG-25999] QDeclarativeView bug...
Forum Updated to NodeBB v4.3 + New Features

[QTBUG-25999] QDeclarativeView bug...

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 2.7k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    Peppy
    wrote on last edited by
    #1

    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;
    view.setSource(QUrl::fromLocalFile&#40;"qml/app/main.qml"&#41;&#41;;
    view.show();
    

    @

    @
    // main.qml:

    import QtQuick 1.1
    import MainWindow 1.0

    MainWindow
    {
    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 )
    @

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aabc
      wrote on last edited by
      #2

      When do you get this bug ?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Peppy
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Peppy
          wrote on last edited by
          #4

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

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

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

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

            (Z(:^

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Peppy
              wrote on last edited by
              #6

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

              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