[Development] Qt Quick emulation layer crashed (1:0)
Matías Néstor Ares
matnares at gmail.com
Wed Mar 16 16:54:47 CET 2016
Thank you very much for so useful information Thomas.
I will proceed as you recommend.
Best Regards.
2016-03-16 6:24 GMT-03:00 Hartmann Thomas <Thomas.Hartmann at theqtcompany.com>
:
> Hi,
>
>
> The Timer element is not officially supported in the designer. The
> designer does show an error message, that you can ignore though.
>
> There are work arrounds for your isse:
>
>
> 1) Use .ui.qml files and decouple the logic that requires the Timer from
> the pure form (see: http://doc.qt.io/qtcreator/creator-quick-ui-forms.html
> ).
>
> 2) If you need a quick solution than you can move the Timer into a
> component (e.g. MyTimer). That does work.
>
>
> We do not regularly test unsupported elements and documents containing
> those. We concetrate on the QML subset we support for ui.qml files and
> that we can guarantee to work.
>
> We do accept bugreports for issues like yours and we will fix them, but
> our focus is on UI elements.
>
>
> Kind Regards,
>
> Thomas Hartmann
>
>
> ------------------------------
> *From:* Development <development-bounces+thomas.hartmann=
> theqtcompany.com at qt-project.org> on behalf of Matías Néstor Ares <
> matnares at gmail.com>
> *Sent:* Tuesday, March 15, 2016 5:43 PM
> *To:* <development at qt-project.org>
> *Subject:* [Development] Qt Quick emulation layer crashed (1:0)
>
> Hello everybody!!!
>
> I have been testing Qt5.6
>
> of course Beta an RC releases have some bugs as expected.
>
> But in all recent linux releases including the final 5.6.0 release the QML
> design view is completely unusable.
>
> Even the most simple qml led to "Qt Quick emulation layer crashed (1:0)"
>
> I have been working in complex QML layouts and *the designer was never
> really as useful* as expected. it is very buggy across all releases from
> it first appearance.
>
> But now it can't handle even something as simple as this example:
>
> import QtQuick 2.5
> import QtQuick.Controls 1.4
>
> ApplicationWindow {
> id: applicationWindow1
> visible: true
> width: 640
> height: 480
> title: qsTr("Testing")
>
> Timer{
> id:testiTimer
> interval: 1500; running: true; repeat: true
> onTriggered: {
> console.log("message")
> }
> }
>
> Rectangle {
> id: testRectangle1
> width: 383
> height: 86
> color: "#c2c2c2"
> }
>
> }
>
> This code runs ok but can't be edited in design mode because "Qt Quick
> emulation layer crashed (1:0)" shows up.
>
> is there a workaround? or some alternative?
>
> Regards
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160316/7d9dfd5c/attachment.html>
More information about the Development
mailing list