building qtwebkit - fatal error LNK1181: cannot open input file 'QtCore.lib'
I'm working on windows 10 with microsoft visual studio 13.
In order to build 3DSlicer next, I need to build Qt (done) and qtwebkit.
When I try to build qtwebkit (following these instructions: https://trac.webkit.org/wiki/BuildingQtOnWindows), I get the following error: LINK : fatal error LNK1181: cannot open input file 'QtCore.lib'
I don't know what to do about it.
Thanks for your help
I'm using Qt 4.8.6 (I can't use a more recent version because it won't be compatible with 3DSlicer).
I didn't see what you suggest but it seems to me that it requires recent versions of Qt, microsoft visual studio etc.. so I guess that won't do
Then you should at least try with 4.8.7 which is the latest and last of the Qt 4 series.
*My mistake, I tried with Qt 4.8.6 and with Qt 4.8.7 (respectively following these instructions http://doc.qt.io/qt-4.8/install-win.html and using this script https://github.com/jcfr/qt-easy-build). I have the same error with the two versions when I try to build qtwebkit.
I'm trying to build qtwebkit 2.3.4 (I wasn't sure which version I should take).
Do you mean you are trying to build your own version of QtWebKit from outside of Qt's sources ?
I cleaned everything I had, related to Qt and built Qt 4.8.7 again. Now I have qtwebkit correctly installed. ;)