kdewebkit compilation fails for Mobile profile in trunk

Andriy Rysin arysin at gmail.com
Sat May 21 17:16:55 BST 2011


I just did a clean build and had the same result, seems like this method 
is used outside of deprecated namespace:

#ifndef KDE_NO_DEPRECATED
     KDE_DEPRECATED void selectionClipboardUrlPasted(const KUrl &url);
#endif


On 05/21/2011 11:04 AM, Dawit A wrote:
> Those classes have not changed from KDE 4.6. Most likely you need to
> do a clean build. At lease a clean kdewebkit build.
>
> On Sat, May 21, 2011 at 10:59 AM, Andriy Rysin<arysin at gmail.com>  wrote:
>> In file included from
>> /home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.cpp:85:0:
>> /home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc: In member
>> function ‘virtual int KGraphicsWebView::qt_metacall(QMetaObject::Call, int,
>> void**)’:
>> /home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc:79:87:
>> error: no matching function for call to
>> ‘KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&)’
>> /home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.h:146:10: note:
>> candidate is: void KGraphicsWebView::selectionClipboardUrlPasted(const
>> KUrl&, const QString&)
>> In file included from
>> /home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.cpp:85:0:
>> /home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc: At global
>> scope:
>> /home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc:91:6:
>> error: prototype for ‘void
>> KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&)’ does not match
>> any in class ‘KGraphicsWebView’
>> /home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.h:146:10:
>> error: candidate is: void
>> KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&, const QString&)
>>
>>





More information about the kde-core-devel mailing list