[Qt-creator] QTC crash on opening qml file

Дмитрий Шмыков d.shmykov at nexters.com
Tue Oct 6 10:53:08 CEST 2015


Hi all!

When I open qml file with "File > Open file or project" menu the recent 
version of QTC (that got from git and has built with Qt 5.5.0 or later) 
crashes when it try to open that qml file. With git bisect I have found 
commit that breaks QTC.

The commit is 569932496b1bfe97af2cc729d836da37d017cbd2.

QTC 3.4.2 build with Qt 5.5.0 or later doesn't crash.

Here's the qml file and the homer.jpg that it depends on.
-- 
	*Шмыков Дмитрий *
программист
www.nexters.com <http://www.nexters.com>
+7 985 915 0966
skype: dmitryshm1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151006/669f5ebc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nexters_logo.png
Type: image/png
Size: 4087 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151006/669f5ebc/attachment.png>
-------------- next part --------------
import QtQuick 2.4

Item {
    width: 640
    height: 480

    Item {
        id: item1
        x: 59
        y: 48
        width: 385
        height: 278

        Image {
            id: image1
            x: 145
            y: -103
            width: 113
            height: 126
            anchors.top: parent.top
            anchors.topMargin: 18
            fillMode: Image.PreserveAspectFit
            source: "homer.jpg"
        }

        Item {
            id: item2
            x: 0
            y: 311
            width: 418
            height: 82
        }
    }
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: homer.jpg
Type: image/jpeg
Size: 33858 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151006/669f5ebc/attachment.jpg>


More information about the Qt-creator mailing list