Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED] Qt Quick designer crash Qt Creator
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt Quick designer crash Qt Creator

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 2 Posters 7.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bobo317
    wrote on last edited by
    #1

    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...

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Run Qt Creator from command line and see if there are any errors reported. Also, please try with Qt Creator 3.1.

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bobo317
        wrote on last edited by
        #3

        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)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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.

          (Z(:^

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bobo317
            wrote on last edited by
            #5

            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 !

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              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.

              (Z(:^

              1 Reply Last reply
              0
              • B Offline
                B Offline
                bobo317
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  This is understandable - QtQuick 1 and 2 are completely separate beasts and require different designer rendering helpers.

                  (Z(:^

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved