Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25999

QDeclarativeView - leak after adding and using new type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.0
    • Windows 7 Prof., Qt SDK 1.2.1, MSVC 2010

      Trying to add new type into QML with qmlRegisterType and using it with QDeclarativeView provides a crash at destructor (after closing window) of it:

      Invalid address specified to RtlValidateHeap( , )
      LEAK: 217 Structure

      Code works fine without QDeclarativeView class.

        1. someitem.h
          0.3 kB
        2. someitem.cpp
          0.1 kB
        3. main.qml
          0.2 kB
        4. main.cpp
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            peppy Peter Bocan
            peppy Peter Bocan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes