Help! Need to get going with Qt 5 And Qt Creator in Windows.
-
Could anyone give me simple and comprehensive instructions on how to setup any version of Qt Creator and Qt 5 beta in windows.
Guide me through the entire process please!- Which install files should I download?
- From where should I download them?
- Which version of Qt creator works the best with Qt 5 beta?
- Once they are downloaded, how to make Qt Creator and Qt 5 work together?
Thanking the person with the best reply in advance,
Mohammed Thehseen Shah,
computer science student and Qt newbie. -
Get a Qt Creator 2.6 snapshot (beta should do). Get a Qt 5 snapshot. Install both. Start Creator, register the Qt version (Tools->Options->Build & Run->Qt Versions) and set the desktop kit (Tools->options->build & run->kits) to use that Qt version.
That should be all.
Note that you need Qt Creator 2.6. That one is still in beta, but none of the stable versions will work with Qt 5 (which has not seen a final release either).
-
Thank You Mr Hunger!
Going to give it a go. Gonna take a while to for the downloading of the snapshots to complete.
South African ADSL line speed is slow.Two more Questions.
What exactly is a "SnapShot"?There are so many snapshots.
Take a look here: http://releases.qt-project.org/qt5.0/beta-snapshots/
Will any one do?I assumed any one will do. Is my assumption correct.
-
A snapshot is in general the result of some script grabbing (optionally: building and packaging) whatever happens to be in the version control system at some point in time. Snapshots are usually done daily, so only minimal QA is possible on binary snapshots (usually only what can easily be scripted, anything else would take too much time and effort), so it has happened that snapshots do not even install. The plus is that snapshots are close to the current state of development.
If you want to use snapshots: Always use the latest version that works for you.
-
I'm trying to do this as well. In the 'kits' tab, the compiler field shows <no compiler available>.
In the Qt Versions tab, there is a red stop sign icon next to the Qt5 qmake entry, which is in the manual section.
In the compilers tab, there are no entries in the automatic or manual sections.
Anybody know how to get this setup correctly? Are there any suitable compilers included in the qt5 beta?
[quote author="Tobias Hunger" date="1349895223"]Get a Qt Creator 2.6 snapshot (beta should do). Get a Qt 5 snapshot. Install both. Start Creator, register the Qt version (Tools->Options->Build & Run->Qt Versions) and set the desktop kit (Tools->options->build & run->kits) to use that Qt version.
That should be all.
Note that you need Qt Creator 2.6. That one is still in beta, but none of the stable versions will work with Qt 5 (which has not seen a final release either).[/quote]
-
Check the details of the Qt version for a text explaining why creator does not like it. It will most likely be about Creator not have a Tool Chain to build code with, so lets fix this by installing the necessary tools.
You can install WinSDK from microsoft. That contains everything you need to build software for windows with the MSVC compiler(s). Alternatively you can install mingw (sorry, I don't have a link for that), but maybe https://qt-project.org/forums/viewthread/21079/ can help).
Which one to prefer depends a lot on which Qt 5 binaries you have downloaded: You will to use the same compiler Qt used for your applications.
Creator should pick up MSVC after a restart. Mingw needs to be configured manually in Tools->Options->Build & Run->Tool Chains since that does not register itself in windows and we can not just crawl your complete harddrives to pick it up.
Check that the tool chain is available in Qt Creator. Also make sure it has a debugger set up for that tool chain. MSVC compilers need a CDB, which should be picked up automatically. Mingw needs a gdb, which may not be found automatically. Check your mingw installation directory for a file called gdb (or some-description-of-your-windows-gdb).
I had assumed earlier that you had your windows set up for generic C++ development before, so I left this part out. Sorry.
PS: Qt Creator actually comes with documentation that explains the setup way better than I can. Check it out: The documentation is good and reading it will save you a lot of time in the long run.
-
Hey there guys.
Its me Thehseen, the originator of the post.
I haven't had much time to actually try and figure out how to configure qt 5 and creator.
What ever I did try always fizzled into oblivion.Busy studying for finals but after that I suppose I am just going to wait for the release of the full SDK
which should have everything I need in one easy install.
Although doing it the long way has some value.
I am too lazy.This configuration stuff always seems to get the better off me.
But if anyone does know a sure fire way of getting it working let me know.I will read that documentation soon Master Tobias.
Thanks for the help. -
Hello,
Umm, does anyone know where I can get any open source sdk version of qt that has qt quick?
I am looking for an easy install with an sdk.
It doesn't have to be the latest qt5 libraries.
It can be the version of qt before qt5.
As long as it has qt quick i will be happy. -
The old SDK package can be downloaded from "Nokia Developer page":http://www.developer.nokia.com/Develop/Qt/Tools/. A new Qt-project SDK will be available in the future for Qt5 (and, I think, for 4.8.4, too).
-
Thanks,
I did come across this web page but I assumed that the sdk for download was the commercially licensed one. Didn't know it was the non-commercially licensed one.
But any way thanks.
Sierdiezo. -
Ha, I spelled your name wrong.
It's Sierdzio. -
No problem, happy coding :D
-
OK, I had the same problem and this post did not help me fix it. Two things fixed it for me. Installing the MSVC2010 compiler and then NOT using the default Kit. Create a new kit (tools->options->Build&Run-Kits tab) point it to the Microsoft Visual C++ Compiler 10.0(x86) and use this kit in your projects. Now, one more thing. Very important: On the Kit Selection dialog of the new project wizard, uncheck the "Desktop Qt 5.0.0-rc1 MSVC2010 32bit (SDK)" or whatever the auto-detected kit name is. Just leave your new Kit selected. Now your project will build.
If anyone knows how to modify the auto-detected kit, please let us know.
(credit for this fix goes to Sergey, I never thought to uncheck the autodetected kit)