I'm trying to get my Visual Studio Qt plug-in to work, so to recompile the Qt libraries i ran the following commands from a VS command prompt:
c:\*Qtfolder*>configure -platform -win32-msvc2008
After this I ran nmake and started the compilation process. It went for about 45 minutes before aborting due to linking errors. I got a total of eight "unresolved external symbol" errors, all from QNetworkReplyHandler.obj and FrameLoaderClientQt.obj. Neither of these are libraries that I need, but the compilation is being aborted due to their errors. When it does abort the rest of the libraries seem to be almost done, in fact I can even load and compile my Qt projects in Visual Studio at this point, they just runny buggy due most likely to not all of the libraries being compiled. Has anyone run into this or maybe know why nmake is failing?
It seems like if I could either tell the compiler to keep going in spite of the errors or to omit the offending libraries it might work. Qt's configure has a lot of options but I can't find any that do what I need, and unfortunately I can't find an online reference of Qt's configure options, everything that comes up with a google search is for "Qtopia" for some reason.
Here is the last error. There are seven more that are basically exactly the same error, just for different symbols
FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected:
void __thiscall QWebPage::downloadRequested(class QNetworkRequest const &)" (?do
wnloadRequested@QWebPage@@IAEXABVQNetworkRequest@@@Z) referenced in function "pu
blic: virtual void __thiscall WebCore::FrameLoaderClientQt::startDownload(struct
WebCore::ResourceRequest const &)" (?startDownload@FrameLoaderClientQt@WebCore@
@UAEXABUResourceRequest@2@@Z)
..\..\..\..\lib\QtWebKitd4.dll : fatal error LNK1120: 8 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.