Qt Creator Design Form Editor missing - c++

Qt Creator Design Form Editor missing
Hello,
I create a Qt Quick Application
Build system: qmake
Minimum required Qt version: Qt 5.15
Kit: Desktop Qt 5.15.2 MinGW 64-bit
First time I couldn't use the "Design" tab on the left. I went to Help->About Plugins->I search Qt Quick and I check the box "Load"->I clicked OK button.
When I clicked "Design" tab ->pup up 3 windows with the project... weird!
I close "X" one of the windows and all of them disappear...
I tried to find my window but no chance...
I research a bit on google and seems a error "Qt Designer has no canvas"
Thank you in advance for any suggestions to fix the issue..

Related

No output from heob in a Qt application using Qt Creator

I would like to use heob to check my app for memory leaks. This is what i tried: I opened the project "analogclock" from the examples collection in qtcreator. After that i have chosen "Analyze" and "Heob" from the drop down menu. After choosing the heob path and a click on the ok button, the application starts and a console window "heob32" is displayed. But now nothing happens. Just the word "kill" is displayed in the console window. I can´t see any output and if i close the analogclock app i get the message: "heob: cannot create target process". Can anyone help me further to get useful output from heob?
What OS are you using and what heob did you install?
You need to download and install heob separately from Creator. Creator just installs a link without heob itself. Have you done this? Are you really running on a 32-bit system (there is a heob64 in case you are using a modern OS).
Did you configure your heob installation in Qt Creator correctly?
Can you run heob from the commandline with reasonable behaviour?

Qt Designer menu disappears when title set to English

I'm facing a problem I don't understand. I.e. if I want my menu bar to have two menus.
If I set the title of one to "Edit" it is not shown when running the application. If I set it to "Bearbeiten" (that's Edit in German) it is shown. I prefer English titles. But even some German titles are not shown.
I think source code is not necessary. But if so, let me know.
I'm on OS X Yosemite/ Qt Creator 3.4.1 (opensource) based on Qt 5.4.2 (Clang 6.0, 64bit)
Any help would be appreciated.
Best regards
Edit: On Windows the same project shows all English Menus as desired

Export Qt Designer window to Qt Creator

I am working on a project on Qt, and I'm a total noob, so I don't know how to bind my Qt Creator code and my QT Designer window.
I almost finished my code, so I began drawing my windows with qt designer.
Then I simply saved as .ui file, but whenever I try to go to a slot (in this case clicked() from a button) I get the error that the header file associated with the window does not exist.
How do I properly import my designed window?
Thank you very much
ANy help will be appreciated
As commented by #peppe, the best way is to go with Qt Creator from the start. You can copy/paste your designs if made on Qt Designer.
On Qt Creator go to
File > New File > Qt > Qt Designer Class and it will automatically generate the code.

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!
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.
Possibly related to this bug. Just try this workaround: in the Options
dialog go to “Qt Quick / Qt Quick Designer / QML Emulation Layer” and
disable the checkbox “Always use the QML emulation layer prived by Qt
Creator”. That will cause a rebuild of the emulation layer with the
used Qt version in the current project. That layer does not crash.
This workaround only works with Desktop Kits. – BaCaRoZzo Mar 30
This worked for me on Ubuntu 14.04.
Go to Tools->Options->Qt Quick.
In QML Emulation Layer, make sure
the path is correct for "Use fallback QML emulation layer".
Since I was reinstalling Qt, the new installation had the old path of Qt which gave rise to this issue.
If failed anyway, use "Qt Design studio" instead and build it again, it worked for me.
I recommend to uninstall Qt first and then reinstall it with "Qt Design Studio" box checked.
On Ubuntu 20 LTS, you can run it on: /home/Qt/Tools/QtDesignStudio/bin/qtdesignstudio
Good luck.

Qt Console Application missing in New Project wizard in Qt Creator

For some reason the Qt Console Application entry is missing from the New Project wizard in my Qt Creator 3.3.0.
How it looks on my computer:
How it should look normally:
Any idea why it's missing and how to bring it back?
It turned out that it was because I had selected Android Templates in the combo at the top-right. I hadn't noticed that Combo at all and I have no idea how it got that way.
Changing it to All Templates fixed the problem.