[Qt-interest] Static Link Error with QTWebkit for WinCE 5.0

Sergio Ahumada sergio.ahumada at nokia.com
Thu Jan 20 15:08:20 CET 2011


Hi,

Maybe this can help ?

* WebKit is only supported as a dynamically built library. Static
linkage is not supported.

http://doc.trolltech.com/4.7/compiler-notes.html#supported-features

Cheers,

On 01/20/2011 03:10 AM, ext achellies wrote:
> Dear all, I configure the QT 4.7.1 like the following:
> 
> /call "E:\QT\Codes\QT_4.7.1\configure.exe" -platform win32-msvc2005 -xplatform wince50standard-armv4i-msvc2005 -release -fast -static -opensource -arch windowsce -webkit -qt-gif -qt-libjpeg -qt-libpng -qt-libt
>   iff -qt-zlib -qt-sql-sqlite -no-plugin-manifests -nomake demos  -nomake examples -nomake tools/
> 
> i do not want to use the dynamic link libraries, so i build the QT with static parameter, when the configuration is finished, i run the nmake command, and it success, and i could see the
> 
> QtGui.lib  <http://qtgui.lib/>  QtWebKit.lib  <http://qtwebkit.lib/>  phonon.lib  <http://phonon.lib/>  QtMultimedia.lib  <http://qtmultimedia.lib/>  QtCore.lib  <http://qtcore.lib/>  qtmain.lib  <http://qtmain.lib/>  QtNetwork.lib  <http://qtnetwork.lib/>  QtSql.lib  <http://qtsql.lib/>  QtXml.lib  <http://qtxml.lib/>  static link libraries in the*$$QT_BUILD_TREE\lib*  folder, so i go to examples\webkit\fancybrowser folder to make the fancybrowser.exe, when i run the nmake command, it report link unresolved externals.
> 
> 
> it said that the*QWebkit.lib(mediaplayerprivatephonon.obj)*  link an unresolved externals*Phonon::BackendCapabilities::availableMimeTypes*
> 
> but i see the/examples\webkit\fancybrowser\/Makefile.Release  <http://makefile.release/>*    *has already link the  */
> 
> *$$QT_BUILD_TREE*/*
> 
> */\lib\/**phonon.lib  <http://phonon.lib/>,*  so why the unresolved externals link error occurred?
> 
> 
> Does anyone has successfully build the QT4.7.1 with webkit in static link library?
> 
> 
> Thanks in advance.
> 
> 
> 


-- 
Sergio Ahumada
QA Engineer
Nokia, Qt Development Frameworks



More information about the Qt-interest-old mailing list