Hi,

On 29 August 2012 00:53, Michael <[email protected]> wrote:
>
>
>>
>> 28.08.2012, 16:33, "Michael" <[email protected]>:
>>> Hi All,
>>>
>>> when using Visual Studio 2010 to build QtWebkit 2.3 
>>> fromhttps://gitorious.org/+qtwebkit-developers/webkit/qtwebkit-23 with 
>>> binaries/source Qt 4.8.2 installed,
>>>
>>> i do get the following link errors:
>>>
>>>         link /LIBPATH:"p:\qtwebkit-23\WebKitBuild\Debug\lib" 
>>> /LIBPATH:"c:\Qt\4.8.2\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL 
>>> /MANIFEST /MANIFESTFILE:"obj/debug\qmlwebkitplugind.intermediate.manifest" 
>>> /OUT:..\imports\QtWebKit\qmlwebkitplugind.dll 
>>> @C:\Users\mike\AppData\Local\Temp\nmE0BC.tmp   Creating library 
>>> ..\imports\QtWebKit\qmlwebkitplugind.lib and object 
>>> ..\imports\QtWebKit\qmlwebkitplugind.expqdeclarativewebview.obj : error 
>>> LNK2001: unresolved external symbol "public: static struct QMetaObject 
>>> const QWebPage::staticMetaObject" 
>>> (?staticMetaObject@QWebPage@@2UQMetaObject@@B)plugin.obj : error LNK2001: 
>>> unresolved external symbol "public: static struct QMetaObject const 
>>> QWebPage::staticMetaObject" 
>>> (?staticMetaObject@QWebPage@@2UQMetaObject@@B)moc_qdeclarativewebview_p.obj 
>>> : error LNK2001: unresolved external symbol "public: static struct 
>>> QMetaObject const QWebPage::staticMetaObject" 
>>> (?staticMetaObject@QWebPage@@2UQMetaObject@@B)qdeclarativewebview.obj : 
>>> error LNK2
 0
>  01: unresolved external symbol "public: static struct QMetaObject const 
> QGraphicsWebView::staticMetaObject" 
> (?staticMetaObject@QGraphicsWebView@@2UQMetaObject@@B)plugin.obj : error 
> LNK2001: unresolved external symbol "public: static struct QMetaObject const 
> QGraphicsWebView::staticMetaObject" 
> (?staticMetaObject@QGraphicsWebView@@2UQMetaObject@@B)moc_qdeclarativewebview_p.obj
>  : error LNK2001: unresolved external symbol "public: static struct 
> QMetaObject const QGraphicsWebView::staticMetaObject" 
> (?staticMetaObject@QGraphicsWebView@@2UQMetaObject@@B)qdeclarativewebview.obj 
> : error LNK2001: unresolved external symbol "public: static struct 
> QMetaObject const QWebFrame::staticMetaObject" 
> (?staticMetaObject@QWebFrame@@2UQMetaObject@@B)..\imports\QtWebKit\qmlwebkitplugind.dll
>  : fatal error LNK1120: 3 unresolved externals
>>
>> Looks like some moc files were not generated. How do you build QtWebKit?
>
> I followed trac.webkit.org/Wiki/buildingqtonwindows
>
>>>
>>> System is Windows 7 64bit.
>>>
>>> Do I have to build Qt 4.8.2 from source with -qtwebkit? I now just 
>>> installed the VS-2010 binaries.
>>>
>>
>> No, having another QtWebKit around may even make things worse.
>>
>
> Sorry, I meant Build with configue -no-webkit. Because right now i do have 
> the precompiled binaries installed which Include the webkit.
>
>> --
>> Regards,
>> Konstantin
>
> So should I Build qt 4.8.2. from source with configue -no-webkit first?
> Thanks and best Regards,

Yes, you need to configure Qt with -no-webkit before you try to build
a custom QtWebKit because your linker most probably tries to link to
the installed libraries and that obviously fails.


/Andras
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to