Qt with VS Express
-
Your Qt version is set to "None".
Install Qt for MSVC 2013 x64, and select it in your "Desktop" kit.
-
Thanks for the help, however, I thought that those were the files I had downloaded.
The name of the files are:
qt-5.2.1-x64-msvc2013 and qt-creator-3.0.1-x64There are no other files there.
-
[quote author="JKSH" date="1395144907"]Your Qt version is set to "None".[/quote]See your first screenshot (Build & Run -> Kits). Change Qt version from "None" to "Qt 5.2.1"
-
Qt version is a pull down menu, which contains no other choice but 'none'. I clicked on the button next to the pull down menu box, 'Manage'. This takes me to a the 'QT Version' tab, which contains two columns (Auto-Detect and Manual) and three buttons on the right hand (Add..., Remove and Cleanup).
Selecting Auto-Detect/Manual and then clicking on the Add button, I am presented with a 'File Chooser' window with three directories (bin, lib and share). I checked the subdirectories in each of the above mention directories but to no avail.
Having said that, my question is: how do I change the Qt Version from 'None' to 'Qt 5.2.1'?
Thanks. -
You need to find and choose a qmake.exe from your Qt installation in that "File Chooser".
-
Thanks, I got the setting right! :)
Now the problem starts. I get an error :(
bq. cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc /Fddebug\Test.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_CORE_LIB -I"....\Qt64\qt-5.2.1-x64-msvc2013\qt-5.2.1-x64-msvc2013\include" -I"....\Qt64\qt-5.2.1-x64-msvc2013\qt-5.2.1-x64-msvc2013\include\QtCore" -I"debug" -I"." -I"....\Qt64\qt-5.2.1-x64-msvc2013\qt-5.2.1-x64-msvc2013\mkspecs\win32-msvc2013" -Fodebug\ @C:\Users\ARBOLO~1\AppData\Local\Temp\main.obj.41488.15.jom
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: D:\Temp\build-Test-Desktop-Debug\Makefile.Debug [debug\main.obj] Error 1
jom: D:\Temp\build-Test-Desktop-Debug\Makefile [debug] Error 2
19:45:58: The process "D:\Qt64\qt-creator-3.0.1-x64\bin\jom.exe" exited with code 2.
Error while building/deploying project Test (kit: Desktop)
When executing step 'Make'
19:45:58: Elapsed time: 00:00.
-
Wow, I am researching this error on bing.com, and I have found that when this problem comes up, all the suggestions and advices end right there.
http://qt-project.org/forums/viewthread/20117/
http://qt-project.org/forums/viewthread/14732 -
"Run and Build":https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136
I would really like someone with experience resolving this error to give an opinion here. I have seen this problem being present in several places in the internet. None of them were resolved.
-
I got the "'cl' is not recognized as an internal or external command, operable program or batch file" message once. For me, I fixed the problem by repairing my MSVC installation. I'm not sure if my solution will work for you though.
Anyway, someone has submitted a bug report, but the root cause hasn't been found yet: https://bugreports.qt-project.org/browse/QTCREATORBUG-11539 The reporter managed to work around the problem by launching Qt Creator from a batch script. See if that helps.
-
Ah! Thanks for the info. I checked it out and tried to duplicate the solution, but without good result.
However, before going any further I will rename this posting 'Att: Qt Engineers - No Visual Studio for Qt', so please follow the trail "here":http://qt-project.org/forums/viewthread/39893/.Thanks everyone for the wonderful help, truly outstanding! and just to think no one here is getting paid, laudable, very much laudable.