2 Attachment(s)
Problem when creating first example using VS 2012 qt add-in
I installed qt-opensource-windows-x86-msvc2012_opengl-5.3.0 then installed qt-vs-addin-1.2.3-opensource. I had VS 2012 installed on my Windows 7 machine.
So, for making first example I tried to create a new project on the VS 2012 IDE as follows:
New Project -> Qt Application -> named Qtest as of name for project -> OK -> On the overview tab clicked next. then I got below message:
Attachment 10409
I clicked Yes then Next and then Finish. this time I got this message:
Attachment 10410
When I clicked OK, it returned me to first previous window of naming the new project.
How to solve this problem and how to use VS 2012 for Qt please?
Re: Problem when creating first example using VS 2012 qt add-in
Put in enviroment variable PATH Qt bin directory. In example if You have Qt installed in D:\QtDir in PATH put D:\QtDir\bin
Re: Problem when creating first example using VS 2012 qt add-in
I should put that path to where?
I installed Qt in D:\ drive. So in the New Project window and in the location I put D:\Qt\Qt5.3.0\Tools\QtCreator\bin and then OK. But same result!
Re: Problem when creating first example using VS 2012 qt add-in
Dear buddy. You should know the basics of how the tool works. Read this article.
Re: Problem when creating first example using VS 2012 qt add-in
Doesn't this affect other programs including VS for C++ programming?
Re: Problem when creating first example using VS 2012 qt add-in
Do you know what is the job of the PATH variable ?
Re: Problem when creating first example using VS 2012 qt add-in
NO. I haven't been familiar with it.
Re: Problem when creating first example using VS 2012 qt add-in
So you need to. How you want to create software for the platform (Windows) on which you know nothing? PATH contains all the directories in which the system (Windows) is looking for programs (EXE files) and DLLs.
Re: Problem when creating first example using VS 2012 qt add-in
The PATH contains this:
C:\Program Files\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%Sy stemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\ System32\WindowsPowerShell\v1.0\;C:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\;%systemroot%\System32\WindowsPowerShell \v1.0\;C:\Program Files\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
Should I edit it or remove these and then paste the D:\ bin directory.
Please give an obvious way.
Re: Problem when creating first example using VS 2012 qt add-in
You should add Qt bin directory to the PATH. In Qt Group in Start Menu you have a link to "Qt command prompt". It uses QT_DIR\bin\qtvars.bat Look in this bat file how to set (what to add) PATH variable.
Re: Problem when creating first example using VS 2012 qt add-in
In start menu, there is a folder named QT 5.3.0 that when I open/extend it there isn't any link to Qt command prompt!
Re: Problem when creating first example using VS 2012 qt add-in
I'm working with Qt 4 series. Maybe in Qt 5 is different.
Uncle Google is great : read this topic