[Interest] Qt 5.6.2 Git on Windows: -force-debug-info configure option triggers linker warning on usage

Rainer Wiesenfarth rainer_wiesenfarth at trimble.com
Mon Dec 5 17:50:36 CET 2016


I checked out Qt 5.6.2 from the git repository and configured it with

..\configure -prefix "%DESTINATION_DIR%" -release -force-debug-info [...]

Qt configures, builds and installs ok, but when using the result in a
project, I get this linker warning for every executable using Qt:

qtmain.lib(qtmain_win.obj) : warning LNK4099: PDB 'qtmain.vc.pdb' was not
found with 'qtmain.lib(qtmain_win.obj)' or at
'L:\SVN_Work\source\mb\BIN\Release_x64\qtmain.vc.pdb'; linking object as if
no debug info

​I found the file in (builddir)\qtbase\src\​winmain\.obj\release but it
does not get copied to the installation directory.

​Is this a bug / missing feature of the Qt build process or am I doing
things wrong?​


-- 
Software Engineer | Trimble Imaging Division
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/imaging/ | http://www.inpho.de/

Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Dr. Frank Heimberg, Jürgen Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161205/80fb4dba/attachment.html>


More information about the Interest mailing list