[webkit-dev] Compilation of Webkit2 on Qt Port

Allan Sandfeld Jensen kde at carewolf.com
Tue Sep 17 09:52:35 PDT 2013


This is exactly what happens when linking with the wrong library. One way to 
solve it in a development tree is to go into WebKitBuild/Release and run make 
install. This will install the libraries as they are linked which means later 
executables will always link with the right version.

`Allan
On Tuesday 17 September 2013, Arunprasad Rajkumar wrote:
> Your build environment might be having other WebKit library installed. If
> so remove those headers and libraries and try.
> 
> On 17 Sep 2013 17:16, "murali billa" <muralibilla at gmail.com> wrote:
> > Hi,
> > Im trying to compile webkit2. For first time, im able to compile
> > successfully for Qt port. For 2nd time, it throws below linking error
> > (without any code change). Pls help me.
> > 
> > 
> > .obj/release-shared/WebKit/qt/WidgetApi/qwebpage.o:qwebpage.cpp:function
> > QWebPage::setVisibilityState(QWebPage::VisibilityState): error: undefined
> > reference to
> > 
> > 'QWebPageAdapter::setVisibilityState(QWebPageAdapter::VisibilityState)'
> > .obj/release-shared/WebKit/qt/WidgetApi/qwebpage.o:qwebpage.cpp:function
> > QWebPag
> > 
> >                    e::visibilityState() const: error: undefined reference
> > 
> > to 'QWebPageAdapter::visi
> > 
> >                                      bilityState() const'
> > 
> > Regds,
> > Murali
> > 
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list