Qt with VS Express
-
I have VS Empress 2013, can Qt use it, instead of g++?
TIA -
Hii.
Check out compilers supported by Qt . -
Hi,
Yes, VS2013 can be used with Qt. Currently the Qt Project doesn't offer official packages for 2013 but you can find "unofficial builds here":http://www.tver-soft.org/qt64 or build it yourself
-
Thanks SGaist.
Sorry, for asking the same question again, but in your reply you'r referring to VS2013, but in my question I am referring to VS Express 2013.
I just wanna be absolutely clear; I don't wanna spent all that time trying to figure out what I did wrong at the time of the installation, when the problem was incompatibility all along.Again, thanks SGaist.
-
VS and VS Express offer the same compiler.
The difference is in the IDE, the express edition doesn't allow plugin so the Qt Add-In can't be used. But that's not a problem if you use Qt Creator
-
This is fantastic! However, I need to ask one more thing regarding this matter. Since I already have Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB [ (aka Qt-gcc] ) installed, can I change the kit settings to VC++, or should I uninstall Qt-gcc and then install Qt-vc++ package?
If I have to uninstall the Qt-gcc, should I expect any problems when installing Qt-vc?Please note that there have been some Windows kids in this forum complaining about switching from one Qt package to the other.
Thanks
Jamiil -
Hi,
Qt Creator is designed to support multiple kits at the same time. You can install both MinGW and MSVC variants at the same time. I do this myself, without any problems.
HOWEVER, if you want to install 2 kits from the official packages, you should use the Online installer to download and manage all of them. Otherwise, you will get 2 copies of Qt Creator also.
-
Your reply is most welcomed.
Using the two variants of Qt is exactly what I had in mind; what I did not now was if it was possible, but most importantly, what I needed to know was how to grab such opportunity, if it did indeed existed. Your reply tackled both questions. Talk about killing two birds with one stone, eh!One more question though, should I uninstall the current installation of Qt and start anew with a fresh installation of both Qt variants from http://qt-project.org/downloads#qt-lib?
Thanks dude, you are awesome!
-
You're welcome :)
[quote]One more question though, should I uninstall the current installation of Qt and start anew with a fresh installation of both Qt variants from http://qt-project.org/downloads#qt-lib?[/quote]That's a good idea, to make sure that your system is clean. Uninstall your previous packages, and download Qt Online Installer for Windows. Then, inside the Online installer, select the packages that you want.
P.S. If everything works, please edit your original post and add "[SOLVED]" to the title.
-
!https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136(qt Error)!
I installed Qt 5.2.1 for Windows 64-bit (VS 2012, 556 MB) from http://qt-project.org/downloads#qt-lib?, as you suggested. Further more, I also installed Windows SDK 8 in my Win7 machine, since Qt Creator did not recognized VSE2013 or VSE2012 ( both installed in this machine ). Qt Creator did recognize SDK8, and added it correctly to its kit, but now when I launch Qt Creator the above error msg pops up?
Is there anything else I should do?
What have I missed? -
Hi everyone
@QCamera *camera = new QCamera;
QMediaRecorder *recorder = new QMediaRecorder(camera);
camera->setCaptureMode(QCamera::CaptureVideo);
camera->start();
recorder->record();@How to save QCamera recorded video into file stream and how to get recording progress ?
Please help -
Hi Jamiil,
I meant Qt Online Installer for Windows (14 MB) if you want to install both MSVC and MinGW builds.
Where did you install VSE 2012?
Can you please go to Qt Creator -> Tools -> Options -> Build & Run -> Compilers, select your compiler, and then take a screenshot?
Hi GGILOYAN, please start a new thread. Don't hijack other people's threads.
-
Oops!
I just uninstalled -Qt 5.2.1 for Windows 64-bit (VS 2012, 556 MB)- and I am now installing *Qt Online Installer for Windows (14 MB) *, I'll let you know how things went with the new installation A.S.A.P
Thanks dude, I really appreciate the help. -
Oh no!
I got this error when trying to build a simple Hello app!07:47:27: Running steps for project ConsoleApp...
07:47:27: Starting: "D:\Qt\5.2.1\msvc2012_64_opengl\bin\qmake.exe" D:\Temp\ConsoleApp\ConsoleApp.pro -r -spec win32-msvc2012 "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
07:47:27: The process "D:\Qt\5.2.1\msvc2012_64_opengl\bin\qmake.exe" exited normally.
07:47:27: Starting: "D:\Qt\Tools\QtCreator\bin\jom.exe"
D:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc /Fddebug\ConsoleApp.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_CORE_LIB -I"....\Qt\5.2.1\msvc2012_64_opengl\include" -I"....\Qt\5.2.1\msvc2012_64_opengl\include\QtCore" -I"debug" -I"." -I"....\Qt\5.2.1\msvc2012_64_opengl\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\Miralo~1\AppData\Local\Temp\main.obj.1556.0.jom
jom: D:\Temp\build-ConsoleApp-Desktop_Qt_5_2_1_MSVC2012_OpenGL_64bit-Debug\Makefile.Debug [debug\main.obj] Error 2
jom: D:\Temp\build-ConsoleApp-Desktop_Qt_5_2_1_MSVC2012_OpenGL_64bit-Debug\Makefile [debug] Error 2
07:47:28: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project ConsoleApp (kit: Desktop Qt 5.2.1 MSVC2012 OpenGL 64bit)
When executing step 'Make'I else do I need to do after the installation?
-
I tried compiling using mingw, and it worked :( I am back to the beginning. It looks like Qt does not work with the VS compiler?
Any advice will be much appreciated.
Thanks -
Hello,
[quote author="SGaist" date="1393754556"]Hi,
Yes, VS2013 can be used with Qt. Currently the Qt Project doesn't offer official packages for 2013 but you can find "unofficial builds here":http://www.tver-soft.org/qt64 or build it yourself[/quote]
This is a good link as I always find myself in need of unofficial builds.Thanks.
[quote author="Jamiil" date="1394580915"]I tried compiling using mingw, and it worked :( I am back to the beginning. It looks like Qt does not work with the VS compiler?
Any advice will be much appreciated.
Thanks[/quote]If everything is installed correctly I think you might need to configure your kits as someone said before.Qt does work with the VS compiler.Go in the build and run settings of Qt Creator , in the compiler tab add the VS compiler.In the kits tab add a kit with the vs compiler and your Qt version.
This "link":http://doc-snapshot.qt-project.org/qtcreator-3.0/creator-configuring.html says more .I hope this helps.
Your question helped learn sth I didn't know :-) -
[quote author="SGaist" date="1393754556"]Hi,
Yes, VS2013 can be used with Qt. Currently the Qt Project doesn't offer official packages for 2013 but you can find "unofficial builds here":http://www.tver-soft.org/qt64 or build it yourself[/quote]
First and foremost, thanks for the suggestion. I am using VSE2013 on a Win7-64bit machine and now I am ready to install qt-5.2.1-x64-msvc2013 as well as qt-creator-3.0.1-x64 from the above suggested web site. Is there any specific directory to which install in the qt kit? Is there any documentation material that would help answering this question and other that might pop up along the way?
-
You can use the defaults from the installer which work just fine. Otherwise it's up to you but there is one rule that you should not break:
- No spaces in the path
I know it may sound funny, but spaces in paths on windows are a known problem.
-
Strange, I am unable to create a project
!https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136(Intallation)!"Pics":https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136
-
trying to get the right link "here":https://onedrive.live.com/?cid=8f8db1a4f405473f&mkt=en-CA#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136