How to run a C++ code in Qt?
-
You're too much in the future ;) It's 5.6
No problem using Qt 5.6 for project started with 5.5. Forward compatibility is one of Qt's guaranties.
-
Unusual, but why not just update ?
-
No, that's Qt Creator. It's the IDE.
IIRC, the 5.6 beta installer is available through your Qt Account page
-
There's also that link indeed. Since it's an offline installer, I don't remember whether it will overwrite the Qt folder or not
-
Don't put Qt in a path with white spaces, that will save you much trouble.
-
That's what I mean. Avoid white spaces it's the best thing to do on Windows.
-
The second one unless you are planning to use WinRT
-
@SGaist
I dont have any idea about that, I was just running a C++ code in Qt and get outputs in UI... how can I know if it was installed before in Qt5.5? Moreover, there is a "_64" difference between the two: qt-opensource-windows-x86-msvc2015_64-5.6.0-beta.exe 17-Dec-2015 and
qt-opensource-windows-x86-msvc2015-5.6.0-beta.exe -
The _64 is to be used if you want to build a 64 bit version of your application. That also requires a 64 bit OS to run.
The Beta doesn't installed itself in 5.5 since it's the 5.6 beta
-
If you plan to only run your application on 64bit Windows, then take the 64bit version otherwise the 32.
-
@SGaist
I installed the first one here to be able to run my projects using MCVS 2015 compiler. It worked last week. I think I have still the older Qt 5.5. and couldn't uninstall it.
Now I am again trying to run my project, but cannot find the Qt5.6 beta. when I open the Qt shortcut on my desktop, it has only the MCVS 2013 as compiler.
How can I run projects using Qt 5.6 beta shown here and get rid of Qt 5.5?
In addition, when I open the "MaintenanceTool.exe" to update it, this error appears. -
Qt 5 beta should be installed somewhere like C:\Qt\5.6.0. In any case you are probably using the Qt 5.5 installed Qt Creator. Either add a Qt Version and a Kit in the Preferences of Qt Creator using your Qt 5.6 beta or start the Qt Creator from Qt 5.6 beta.
If you don't what that mix, just remove both and re-install only Qt 5.6 beta.
There's nothing to update in a beta version.
-
@SGaist said:
Yes, Qt 5.6 beta is in C:\Qt\5.6.0. This is my Qt5.6 beta that I sent in previous post. But may I ask how to start the Qt Creator from Qt 5.6 beta?
Could you please let me know how to "add a Qt Version and a Kit in the Preferences of Qt Creator using Qt 5.6 beta "?I was going to uninstall Qt 5.5. before installing Qt 5.6. beta, but it gave this error asked in one of my previous posts.