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. Cannot Connect to QML Emulation Layer (QML Puppet)
Servers for Qt installer are currently down

Cannot Connect to QML Emulation Layer (QML Puppet)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 2 Posters 6.7k Views
  • 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.
  • M Offline
    M Offline
    MilloMille
    wrote on 3 Nov 2016, 09:07 last edited by
    #1

    I'm runnin QT Creator 3.2.1 based on Qt 5.3.2. My Compiler is GCC 4.9.2 and I'm running Qt on a Raspberry with Raspbian Jessy installed.
    I'm pretty new to Raspberry and to Qt. Qt is pretty slow on my Raspberry but I didn't want to cross-compile so I chose to design my GUI on the Raspberry itself.
    When I start s new Widget Project and go into Designer-Mode everthing goes well. But when I start a Qt Quick Application I get following error message when starting the Designer:

    Cannot connect to QML Emulation Layer (QML Puppet)
    The executable of the QML emulation layer (QML Puppet) may not be responding. Switching to another kit might help.
    

    I tried switching to another kit. The default kit has a desktop as device type and local PC as device.
    When I switch the device type to generic linux device I cant select a device.
    I also tried to disbale the "Always use the QML emulation layer provided by QT Creator" under Options/QT Qucik/QT Quick Designer

    So far nothing worked any help would be much obliged

    1 Reply Last reply
    1
    • L Offline
      L Offline
      Lorenz
      wrote on 3 Nov 2016, 10:18 last edited by Lorenz 11 Mar 2016, 10:19
      #2

      Some people reported that they solved similar issues with reinstalling Qt. Also, this is an issue that was already reported in the bugtracker.

      Still, my guess is that you're better if off if you take the time to set up your environment for cross-compilation. You can do that with the help of the Buildroot Project as described in our blog!

      edit: this might be helpful as well: https://github.com/pbouda/buildroot-qt-dev

      Developer @ V-Play Engine - http://v-play.net/qt

      V-Play simplifies

      • Game Development with Qt
      • Mobile App Dev with Qt esp. iOS & Android

      What others say
      V-Play scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

      1 Reply Last reply
      2
      • M Offline
        M Offline
        MilloMille
        wrote on 3 Nov 2016, 17:39 last edited by
        #3

        Thanks a lot Lorenz. I installed Qt on my Laptop with ubuntu. I also installed buildroot but I have two questions:

        1. Do I need to set up buildroot on my Raspberry or on my Laptop?
        2. When I look up guides for how to configure buildroot for the Raspberry people change all kind of things I have no clue about. How do I know if the settings are also optimal for me (most refer to differnet Raspberrys or older Versions of buildroot)?

        I use these two guides:
        https://www.raspberrypi.org/forums/viewtopic.php?f=75&t=89518
        https://www.youtube.com/watch?v=key9SkCU3io
        which also differ from each other.

        Thanks for any help

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MilloMille
          wrote on 4 Nov 2016, 10:01 last edited by
          #4

          Wouldn't it be easier to follow these instrudctions?
          Cross Compilling Qt5 for the Pi

          1 Reply Last reply
          1
          • L Offline
            L Offline
            Lorenz
            wrote on 4 Nov 2016, 10:35 last edited by
            #5

            Hi Millo,

            Indeed your link looks fine as well! Just go with what you're more comfortable with I'd say.

            1 - Buildroot goes on your laptop. QtCreator goes on your laptop as well, here's a tutorial to set it up:
            https://github.com/pbouda/buildroot-qt-dev/blob/master/doc/qtcreator.md

            2 - I would follow (only) the steps in this github https://github.com/pbouda/buildroot-qt-dev/blob/master/doc/qtcreator.md

            It's been a while since we did some testing on our Raspberry, and we were successful with Buildroot, but unfortunately I can not recall all the details :)

            Good Luck!
            Lorenz

            Developer @ V-Play Engine - http://v-play.net/qt

            V-Play simplifies

            • Game Development with Qt
            • Mobile App Dev with Qt esp. iOS & Android

            What others say
            V-Play scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

            M 1 Reply Last reply 14 Nov 2016, 17:09
            0
            • M Offline
              M Offline
              MilloMille
              wrote on 7 Nov 2016, 09:59 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • M Offline
                M Offline
                MilloMille
                wrote on 7 Nov 2016, 12:18 last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • L Lorenz
                  4 Nov 2016, 10:35

                  Hi Millo,

                  Indeed your link looks fine as well! Just go with what you're more comfortable with I'd say.

                  1 - Buildroot goes on your laptop. QtCreator goes on your laptop as well, here's a tutorial to set it up:
                  https://github.com/pbouda/buildroot-qt-dev/blob/master/doc/qtcreator.md

                  2 - I would follow (only) the steps in this github https://github.com/pbouda/buildroot-qt-dev/blob/master/doc/qtcreator.md

                  It's been a while since we did some testing on our Raspberry, and we were successful with Buildroot, but unfortunately I can not recall all the details :)

                  Good Luck!
                  Lorenz

                  M Offline
                  M Offline
                  MilloMille
                  wrote on 14 Nov 2016, 17:09 last edited by
                  #8

                  @Lorenz said in Cannot Connect to QML Emulation Layer (QML Puppet):
                  .com/pbouda/buildroot-qt-dev/blob/master/doc/qtcreator.md

                  2 - I would follow (only) the steps in this github https://github.com/pbouda/buildroot-qt-dev/blob/master/doc/qtcreator.md

                  It's been a while since we did some testing on our Raspberry, and we were successful with Buildroot, but unfortunately I can not recall all the details :)

                  Good Luck!
                  Lorenz

                  Im sorry Lorenzo but this guide doesn't work. I'm stuck at this part:

                  Warning: Your SD card has to prepared with the two Raspberry partitions. If you do not edit the script  installrootfs.sh  with the correct device names your hard disk might get formatted!
                  
                  You can now run the script. The script expects the path to the SD Card device and the path to the root file system image and the kernel as the first argument. Buildroot puts those in the folder  output/images . So change directory into  scripts  and run  installrootfs.sh  with the absolute path to your  buildroot-2015.05/output/images  folder:
                  $ cd ../scripts/
                  $ ./installrootfs.sh /dev/sdX /path/to/buildroot-qt-dev/buildroot-2015.05/output/images
                  
                  

                  I install the raspberry image as advised. If I insert the SD card into my Pi everything works fine. Then I run the installrootfs.sh. When I instert the SD card now he asks me to login which I can successfully do but after that almost no commands work. The shell always tells me unknown command, even when typing sudo, apt-get or other things. Commands like ls or reboot do work tho. Also the GUI wont load.
                  Do you know what to do differently? Im also confused because in teh first paragraph it says to edit the script which shouldnt be neccessary if I run the script with the right arguments?

                  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