Note that there are some explanatory texts on larger screens.

plurals
  1. POCompiling Qt libraries to run with Visual Studio 2008, why does nmake fail?
    text
    copied!<p>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:</p> <pre><code>c:\*Qtfolder*&gt;configure -platform -win32-msvc2008 </code></pre> <p>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? </p> <p>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.</p> <p>Here is the last error. There are seven more that are basically exactly the same error, just for different symbols</p> <pre><code>FrameLoaderClientQt.obj : error LNK2019: unresolved external symbol "protected: void __thiscall QWebPage::downloadRequested(class QNetworkRequest const &amp;)" (?do wnloadRequested@QWebPage@@IAEXABVQNetworkRequest@@@Z) referenced in function "pu blic: virtual void __thiscall WebCore::FrameLoaderClientQt::startDownload(struct WebCore::ResourceRequest const &amp;)" (?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. </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload