[SOLVED] Qt Quick designer crash Qt Creator
-
I'm running QtCreator 3.0.1 on Kubuntu 14.04 x64 with KDELibs 4.13 and Qt version 4.8.6, and when I try to open a .qml file (any file, also the default 'Hello Word' from wizard) in the editor there are no problem, but when I clik the Design icon the QtCreator application closes automatically.
Thanks in advance for any suggestions... -
Run Qt Creator from command line and see if there are any errors reported. Also, please try with Qt Creator 3.1.
-
QtCreator command line output :
Starting process: "/usr/bin/cmake" "--help"
file:///usr/share/qtcreator/welcomescreen/welcomescreen.qml:30:1: module "QtQuick" is not installed
import QtQuick 2.1
^
static Core::IEditor* Core::EditorManager::createEditor(const Core::Id&, const QString&) unable to determine mime type of /home/rogu/%F/. Falling back to text/plain
Starting process: "/usr/bin/cmake" "--help-command-list"
Starting process: "/usr/bin/cmake" "--help-commands"
Starting process: "/usr/bin/cmake" "--help-property-list"
Starting process: "/usr/bin/cmake" "--help-variable-list"
Id for kit: "Desktop 5.2" "CMakeProjectManager.DefaultCMakeTool" 10000486
Id for kit: "Desktop 5.2" "CMakeProjectManager.DefaultCMakeTool" 10000486
Id for kit: "Desktop 5.2" "CMakeProjectManager.DefaultCMakeTool" 10000486
Id for kit: "Desktop 5.2" "CMakeProjectManager.DefaultCMakeTool" 10000486
Id for kit: "Desktop 5.2" "CMakeProjectManager.DefaultCMakeTool" 10000486
Id for kit: "Desktop 5.2" "CMakeProjectManager.DefaultCMakeTool" 10000486
qrc:/ItemLibrary/qml/ItemsView.qml:30:1: module "QtQuick" is not installed
QObject::connect: Cannot connect (null)::itemSelected(int) to QmlDesigner::ItemLibraryWidget::showItemInfo(int)
QObject::connect: Cannot connect (null)::itemDragged(int) to QmlDesigner::ItemLibraryWidget::startDragAndDropDelayed(int)
QObject::connect: Cannot connect QmlDesigner::ItemLibraryWidget::scrollItemsView(QVariant) to (null)::scrollView(QVariant)
QObject::connect: Cannot connect QmlDesigner::ItemLibraryWidget::resetItemsView() to (null)::resetView()
qrc:/stateseditor/stateslist.qml:30:1: module "QtQuick" is not installed
terminate called after throwing an instance of 'QmlDesigner::InvalidQmlSourceException'
Annullato (core dump creato) -
You seem to be trying to open a file that is using QtQuick 2, which is not available in Qt 4. However, the creator should definitely not be crashing! Please try updating Qt Creator to the newest version.
-
QtCreator version 3.0.1 I have installed is from Moun Discover standard QtCreator installation. I found this "Qt Creator bug report":https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1301364 which suggests installation the ubuntu-sdk package.
...before I try to follow this suggestion then I will try to install version 3.1, even though I do not know how to do it from the package manager Moun ! -
Download from here: "link":http://qt-project.org/downloads#qt-creator. It is a precompiled, binary installer, and includes an uninstaller, so it will not pollute your environment.
-
After installing ubuntu-sdk package the designer load .qml files but show this error:
The executable of the QML Puppet process (/usr/bin/qmlpuppet) cannot be found. Check your installation. QML Puppet is a process which runs in the background to render the items.
Switch .qml files to QtQuick 2.2 import and project to 5.2 Kit, the QML Puppet process (/usr/bin/qml2puppet) is found and no error is show.
-
This is understandable - QtQuick 1 and 2 are completely separate beasts and require different designer rendering helpers.