Hi, I would like to ask for help with this issue becauseI have run out of the ideas. The inconsistent "selectionClipboardUrlPasted" is a signal. I guess with "Mobile" profile (no deprecated mode), it should not occur that way in the moc file. It is just a guess-work though. I am trying to build the active-development/4.7 branch. This is the hash of the last commit in my local folder: d1a3ccd. I did also try to regenerate this file after a manual removal, but that did apparently not help. I tried to build it after removing the whole debian folder content. The "Mobile" profile compilation worked just fine for my host PC with the same "active-development/4.7." branch,
That is the exact command I was trying to run from my build directory: "cmake ../ -DKDE_PLATFORM_PROFILE=Mobile" Thank you in advance! Best Regards, Laszlo Papp ======== /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kwebwallet.cpp:133: instantiated from here /usr/include/qt4/QtCore/qlist.h:399: warning: cast from 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of target type /usr/include/qt4/QtCore/qlist.h:405: warning: cast from 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of target type /targets/maemo6-armv7/usr/bin/cmake -E cmake_progress_report /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/CMakeFiles [ 97%] Building CXX object kdewebkit/CMakeFiles/kdewebkit.dir/kgraphicswebview.o cd /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdewebkit && /scratchbox/compilers/bin/c++ -DMAKE_KDEWEBKIT_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=43 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdewebkit -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/interfaces -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kjs -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kjs -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdecore -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/compression -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/config -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/date -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/io -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/jobs -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/kernel -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/auth -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/network -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/services -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/localization -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/sycoca -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/text -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/util -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/sonnet -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/actions -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/colors -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/config -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/dialogs -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/findreplace -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/fonts -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/icons -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/itemviews -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/jobs -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/kernel -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/notifications -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/paged -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/plotting -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/shortcuts -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/sonnet -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/util -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/widgets -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/windowmanagement -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdeui/xmlgui -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kio -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kio/bookmarks -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kio/kio -I/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kio/kfile -I/usr/include/QtCrypto -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o CMakeFiles/kdewebkit.dir/kgraphicswebview.o -c /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.cpp In file included from /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.cpp:86: /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdewebkit/kgraphicswebview.moc: In member function 'virtual int KGraphicsWebView::qt_metacall(QMetaObject::Call, int, void**)': /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdewebkit/kgraphicswebview.moc:79: error: no matching function for call to 'KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&)' /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.h:146: note: candidates are: void KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&, const QString&) In file included from /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.cpp:86: /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdewebkit/kgraphicswebview.moc: At global scope: /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build/kdewebkit/kgraphicswebview.moc:91: error: prototype for 'void KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&)' does not match any in class 'KGraphicsWebView' /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.h:146: error: candidate is: void KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&, const QString&) In file included from /usr/include/qt4/QtCore/qvariant.h:50, from /usr/include/qt4/QtCore/qmimedata.h:46, from /usr/include/qt4/QtGui/qmime.h:46, from /usr/include/qt4/QtGui/qevent.h:53, from /usr/include/qt4/QtWebKit/qgraphicswebview.h:27, from /usr/include/qt4/QtWebKit/QGraphicsWebView:2, from /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.h:32, from /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdewebkit/kgraphicswebview.cpp:28: /usr/include/qt4/QtCore/qmap.h: In static member function 'static QMapNode<Key, T>* QMap<Key, T>::concrete(QMapData::Node*) [with Key = QString, T = QString]': /usr/include/qt4/QtCore/qmap.h:646: instantiated from 'void QMap<Key, T>::freeData(QMapData*) [with Key = QString, T = QString]' /usr/include/qt4/QtCore/qmap.h:187: instantiated from 'QMap<Key, T>::~QMap() [with Key = QString, T = QString]' /scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/kdecore/io/kurl.h:211: instantiated from here /usr/include/qt4/QtCore/qmap.h:180: warning: cast from 'char*' to 'QMapNode<QString, QString>*' increases required alignment of target type make[2]: *** [kdewebkit/CMakeFiles/kdewebkit.dir/kgraphicswebview.o] Error 1 make[2]: Leaving directory `/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build' make[1]: *** [kdewebkit/CMakeFiles/kdewebkit.dir/all] Error 2 make[1]: Leaving directory `/scratchbox/users/lpapp/home/lpapp/kde_test/kdelibs/build' make: *** [all] Error 2 >From the generated moc file: 72 int KGraphicsWebView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 73 { 74 _id = QGraphicsWebView::qt_metacall(_c, _id, _a); 75 if (_id < 0) 76 return _id; 77 if (_c == QMetaObject::InvokeMetaMethod) { 78 switch (_id) { 79 case 0: selectionClipboardUrlPasted((*reinterpret_cast< const KUrl(*)>(_a[1]))); break; 80 case 1: selectionClipboardUrlPasted((*reinterpret_cast< const KUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; 81 case 2: linkShiftClicked((*reinterpret_cast< const KUrl(*)>(_a[1]))); break; 82 case 3: linkMiddleOrCtrlClicked((*reinterpret_cast< const KUrl(*)>(_a[1]))); break; 83 default: ; 84 } 85 _id -= 4; 86 } 87 return _id; 88 }