Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot Connect to QML Emluation Layer (QML Puppet)

I just made the fresh QT installation and when I create empty QT Quick project or open any of existing QT Quick examples, my QML designer doesn't work. It shows "Cannot Connect to QML Emluation Layer (QML Puppet)" error.

I tried to reinstall QT, reboot, installed additional QT kit versions and tried to switch between 32bit/64bit default/opengl versions of the kit and nothing seems to work for me. I was able to successfully run the designer ONCE, and after I closed it and tried to re-open the file it stopped working again. I also tried to search, but didn't find any solution. I also tried to ask on QT forums, but didn't receive any answer.

My system is Windows 7, with Visual Studio 2013 installed. Thanks for your help!

like image 636
splattru Avatar asked Mar 26 '15 23:03

splattru


1 Answers

Do this:

  • Go to QT Creator Preferences (Menu Bar | Tools > Options)

  • Select QT Quick Option (Options headings - left side).

  • Click the QT Quick Designer tab.

  • Under QML Emulation Layer grouping, select "Use QML Emulation Layer that is built with selected QT".

No need to choose a path,

  • And click OK.

It will rebuild your designer view. Worked for me.

like image 180
yantronica Avatar answered Oct 31 '22 18:10

yantronica