[Help] How to set up the Qt include\Library path for Visual Studio 2010
-
Thanks for your reply steno. I think VS is cool :)
-
If it is a LINK error then it definitely is not about include pathes since the linked does not care at all about header files.
Check the library include pathes instead.
-
I want to ask kusanagirong: if u compiled properly
1). open command prompt from VS2010
2). Run configure.exe after changing to QT sdk dir
3). after successful configure run "nmake -f"it will create the libraries for VS2010 compatible and debug files. it also convert your Qt Examples and demo projects to VS project.
this process is very lengthy and takes hours to compile.
but u can compile project from QtCreator only by setting Qt Qmake path.
as qt plugin cannot be installed on a VS2010 Exp edition.there is custom compilation of Qt project in VS (like MOC, UIC etc.) which requires Qt plugin, only possible in VS pro/team/ultimate etc not in Express ed.
-
kusanagirong: Give Qt Creator a try:-) I absolutely prefer it to visual studio ...
-
steno: No, I am payed to hack on the most awesome IDE there is:-)
-
yeah, QT is fast, easy and handy only u've to remember its short keys. and most impotant it is not bloated like vs.
in case of compilation of code MS compiler is fast (also generate the debug info, means if error occurs it through an exception message not in case of mingw. it just close app).
-
pushpendrak: You are aware that you can use the msvc compiler and cdb debugger with creator?
-
yes i am using it also. it works fine -but is not much helpful. if app crashes it let me know what was the error okey.....
-
pushpendrak: Do you want the debugger to be brought up when an application crashes automatically? That is called "post-mortem debugging" and can be enabled in creator. By default it is off since many people report they find it annoying.
-
yes it is there, but when i m app is coming into creator it shows only assembly, what i'll do with that?
not of any use.like as in vs it produces program database (.pdb) which will trace it to exact line in code.
-
As far as I know that should work with creator, too. Have you considered to file a "bug report":http://bugreports.qt.nokia.com/?
-
Not actually, for this i use vs2008 integration with Qt.
-
I am not out of the woods yet, but I made some progress by manually adding a QTDIR environment variable on my Windows-10 machine. Hope this helps.