Im still not clear on this qtmaind.lib(qtmain_win.obj):-1: warning: LNK4099: PDB 'vc90.pdb' was not found with... issue
Hello folks, ibe been a developer for many years, but ibe been away from C++ for many years (been working in .net). i just installed the latest Qt SDK, using Qt Creator for learning (and so far im liking it even move that vs2008!!), but even thoug ibe searched a lot, i cannot get a clear answer for this issue.
when ever i try to build using the debug version of my app using vc compiler, i get a warning:
@bq. qtmaind.lib(qtmain_win.obj):-1: warning: LNK4099: PDB 'vc90.pdb' was not found with 'c:\QtSDK\Desktop\Qt\4.7.4\msvc2008\lib\qtmaind.lib' or at 'D:\Ernesto\Code\cpp\tutorial1\Splitter01-build-desktop-Qt_4_7_4_for_Desktop_-_MSVC2008__Qt_SDK__Debug\debug\vc90.pdb'; linking object as if no debug info@
I have looked arround a lot, but found no definitive answer. Is this a bug on Qt creator? a bad configuration on my part?
I just want to know if it is in fact a bug in qt creator, so i can stop scratching my head :) or if im doing something wrong, so i can fix it.
thanks for your help, and im glad to have discovered Qt, and Qt Creator!
This is not limited to users of qt creator. I am using msvc 2005 and I get a similar warning when doing a cross-compilation for wince. Those libs I have comiled myself.
When I do compile a standard win bdebug version I am linking against a commercial version of qt and I do not see the warning.
So far I have not worried too much about. I can debug the cross-compiled application as good as the standard win ones. So far never a drawback.
My assumption was so far, that the vcx0.pdb is being deleted along with the obj files when cleaning up.
Hello, and thanks for your reply.
I assumed it was a Qt Creator issue because before i decided on using creator, i installed the Qt libraries + the Visual Studio addin (since i allready use VS for my C# development), and i dint get that warning there.
Then i noticed that Visual Studio's code completion features (intellisense) are terrible with Qt (i do not own a license for visual assist x), and decided to give Qt Creator a try. So i uninstalled Qt libraries and VS addin, downloaded & installed the full Qt Sdk, and to my surprise, Qt Creator is EXCELLENT. except i got that warning on every debug build.
So you recommend i just ignore that warning?
this warning pop's up, as qtmain is not a dll, it's a static lib. The debug info is compiled into vc90.pdb, which is (mostly) not in the sarch path or not on the disk. As qtmain contains the real main() (yours gets renamed to qMain) it is needed befor you enter your main function. I'm afraid, it's not possible to disable the warning before MSVS 2010.
I typically ignore it as it only means, you have no debug info for the stuff, BEFORE and AFTER your main, and that part, I typically don't debug :-)
Hi Gerolf, and thanks for your reply.
Ill just ignore the warning then :)