How to activate Qt Quick Designer Plugin on Ubuntu based distro? - qt

I have Linux Mint 21, then I install qtcreator through apt repository. I want to activate
Qt Quick Designer Plugin, based on this link, I should be able to activate it, but I didn't found QmlDesigner.
About Plugins Screenshot

I solved this by trying qtcreator from qt official instead from apt. Then QmlDesigner is there.
About Plugins Screenshot
Note: You need qt account to install this.
Thank you, hope this help you too.

Related

No valid kits found - Mac

I installed brew installed qt and qt-creator.
When trying to create a new qmake empty project I get stuck on the Kit selection page saying that no valid kits were found, and can't go any farther. I tried searching the web but I did not find my answer.
Can anyone help me please?
Thanks !
Well even I had the same problem, but it was because during the installation process you have to select the Qt version and then do the installation. This installs all the necessary components but increases the file size.

Qt5 reference documentation: qch files

I want to view Qt reference documentation inside QtAssistant, but the installation of Qt5 did not come with .qch documentation files for Qt libraries.
I have tried to find them on the http://qt-project.org but could not find them anywhere.
How do I get the Qt5 documentation files ?
I am using Ubuntu 12.10, I have installed the new qt-library sdk from the qt-project website.
Open Assistant (5.0.1/gcc/bin/assistant) and then go to Edit -> Preferences menu.
There's a Documentation tab. If the list is empty, add the .qch files found in the 5.0.1/gcc/doc/ directory.
This is how it looks. This is Ubuntu 12.10 as well.
Qt 5.0.1 installed with the qt-linux-opensource-5.0.1-x86-offline.run package (388Mb).
Yes, the official Ubuntu-documentation for Qt5 is very incomplete. You don't have information about nearly any class.
If you want to use the QtCreator/QtAssistant build from Ubuntu you have to acquire the docs yourself. I did and uploaded these on my personal Mega-account. Here are the docs. I installed the Qt framework with the installer from qt-project.org, grabbed the documentation and inserted it into the software-center-version.
I don't use QtAssistant as a stand-alone program but integrated in QtCreator. To add the docs to QtCreator go to Tools>Options>Help>Documentation and click add. Then select all .qch files, click apply and enjoy. Maybe try the way as mentioned above.
After all, you can just download the necessary *.deb file from the store of the Ubuntu packages, and install it on your system. As they wrote here, this package will install the *.qch files in /usr/share/qt5/doc. The pitfall is that you will have to remember that you have done that, since your Ubuntu will not take any records for you.

Compiler configuration for Qt Creator

I am new to Qt and its IDE Qt Creator so pardon my ignorance.
When I try to compile my code I get the exception
"Qt Creator needs a compiler set up to build. Configure a compiler in the kit options".
I have installed MingGW for compiling C++ code.
However, I am having a problem configuring it for Qt Creator.
Any help will be appreciated. Thanks
I suspect you are using the new 5.0 Qt. It required a bit of prodding for me too.
If you look into Settings > Build & Run > Kits you should see an auto-detected entry which will probably have an exclamation mark in front and is not editable. Ignore this.
Add a new Kit
Give it a name, set the "Qt version" and select a compiler. (Compilers should have been auto-detected. If you do not see any compilers, you will have to set at least one up manually)
Click the "Make Default" button. (You may have to modify project build settings to use the new Kit too)
There may be a better way, but I do not know it. And you should probably use 4.x until 5 is out of beta.
I was also having the same problem, so what I did was this:
sudo apt-get install g++
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
I then closed the QT Creator, restarted it, and it worked.
I do not know which of the above two made it work, but it worked!
You are using Qt Creator 2.6.x, as those are the only ones that have kits.
Please go to Tools>Options>Build & Run>Compilers and add you mingw compiler there. You need to point creator to 'g++' in your mingw installation.
Then head over to the Kits tab and click on the desktop kit that creator should have created for you. In the details there is a field called Compiler (or Tool chain, don't remember). Select your mingw compiler there. Check the debugger field. If it is empty or using the gdb debugger that is part of mingw: Grab a debugger from http://builds.qt-project.org/, install it and point creator to that one. The debuggers delivered as part of mingw are known to not work well with creator.
Do not use the Nokia Qt SDK: Everything in there is terribly outdated by now!
This is just a starting point to troubleshoot your question, but the Qt Creator preferences has settings in the "Build & Run" area where you can define the location of your build toolchain: compiler, Qt version to build, etc. For mingw you'd have to point the right field to the location of g++, for a Qt version the location of qmake.
Not always the last version is the better. If someone is learning Qt to implement production solutions, is not good idea to use Qt version 5 (see the Qt5 change log). If you want to learn Qt programming, I think that the Nokia SDK is a good starting point, because you only have to install it as another Windows software, and start to coding.
By using linux is another good starting point, because you will have all the develop environment with a few apt-get commands.
When I started programming Qt, I lost a lot of hours to get a complete environment working with QtCreator, and I understand that not everybody has time for it.
I am using Qt Creator 3.5.1 based on Qt 5.5.1. The error "No compiler set in kit" has been a problem every time I have to configure a development system. The solution that worked for me is to select Tools/Options/Compilers and add a compiler. In my case a GCC compiler with Name:g++, Compiler path:/usr/bin/g++. The trick is to add the compiler before trying to add a Kit. If I add a Kit before I add a compiler I can never add the compiler to the Kit. If you having this problem delete the Kit, add a compiler, then add the Kit.
In your questions you must provide us more information about your problem, such as what versions of software are you using.
About your question, I think, that very good idea to you (as a beginner) is to use all-in-box QtSDK (link, need registration). There are ready-to-use QtCreator, MinGW and litle bit old Qt Libs in that QtSDK 1.2.1. So, you dont't need to configure it at all.
Hope, it'll help. Good luck!

I need to set up eclipse with flex plugin

I want to work with flex from eclipse, could you tell me how to install the flex plugin within eclipse:
What version of eclipse do I need?
Where can I download the flex plugin?
Thanks in advance.
I have not tried Flex with Eclipse, I know for sure you can work with NetBeans IDE using FlexBean plugin. You can find the Eclipse/Flex plugin details below.
http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfm
Hope this helps.
Go to https://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder and download the Eclipse Plug-in of Flash Builder 4.
The installer will allow you to install the plugin into an existing Eclipse installation. One of the installation steps lets you select the Eclipse installation folder.
The system requirements state that the plugin works with "Eclipse 3.4.2 or 3.5". However, in my experience it works fine in Eclipse 3.6 too.

phoneGap files not found in QT-creator

i'm new to Qt, i just install all in one QT-SDK beta with QT-creator as described here. I tried to import PhoneGap example files from there (I use Qt-creator coz when I try to do it on Carbide, as described, it said that my EPOCROOT is wrong, but it isn't). When I want to debug or run project it said that there are some files missing, but i see them in files-tree (look). Any ideas what's going on?
I am working on PhoneGap Qt and am currently in the process of upgrading PhoneGap Qt to use the latest Qt Release, as well as the latest Qt Mobility Libraries. Hopefully once this is complete things will work smoother for you. Keep an eye on the github repository for updates.

Resources