FS#45681 - [qtcreator] QtQuick ui preview error
Attached to Project:
Arch Linux
Opened by HKKH (HKKH) - Friday, 17 July 2015, 09:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 24 November 2015, 07:50 GMT
Opened by HKKH (HKKH) - Friday, 17 July 2015, 09:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 24 November 2015, 07:50 GMT
|
Details
Hi!
[Qtcreator 3.4.2 Qt 5.5] ///////////////////// For example a MainForm.ui.qml in design(preview) mode have this error (in dialog box): The executable of the QML emulation layer (QML Puppet) may not be responding. Switching to another kit might help. /////////////// In design area: /////////////// Qt Quick emulation layer crashed(1:0) ///////////////////// In Konsole(terminal): ///////////////////// libpng warning: iCCP: known incorrect sRGB profile Process crashed: ("{9847d50e-1933-4fc8-80c7-2ce8d5003073}", "rendermode", "-graphicssystem raster") exitCode: 11 QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState Process crashed: ("{39d71737-a0e9-4301-89a1-47b658479703}", "rendermode", "-graphicssystem raster") exitCode: 11 QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState Found an unknown QML value. file:///usr/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml:125:9: QML Image: Failed to get image from provider: image://qmldesigner_stateseditor/baseState-2 Process crashed: QTimer(0x56ae710) exitCode: -1 QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState file:///usr/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml:125:9: QML Image: Failed to get image from provider: image://qmldesigner_stateseditor/baseState-3 file:///usr/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml:125:9: QML Image: Failed to get image from provider: image://qmldesigner_stateseditor/baseState-4 This error does not in Ubuntu 14.04 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 24 November 2015, 07:50 GMT
Reason for closing: No response
Tuesday, 24 November 2015, 07:50 GMT
Reason for closing: No response
https://wiki.archlinux.org/index.php/Libpng_errors
Current libpng version in Arch is 1.6.16-1
Ubuntu 14.04 version is 1.2.50
Which explains why it works in Ubuntu 14.04
There were bugs in the compatibility of QtC 3.4.x with Qt 5.5. Qt 5.5 came out long after QtC 3.4.0 so, we will use that as an excuse:-) Seriously: Qt 5.5 has changed a lot and QML puppet is using lots of private interfaces, so it is hard to make sure that it stays working with new Qt versions. We did try to backport the most important fixes, but apparently we missed some, sorry.
The PNG Warnings are rather harmless and unrelated.