Compile problem on maemo with QWebFrame

Bug #677034 reported by smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qutim
Fix Released
Undecided
Unassigned

Bug Description

qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp:19:21: error: QWebFrame: No such file or directory
qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp: In member function 'void Core::AdiumChat::JavaScriptClient::helperCleared()':
qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp:48: error: 'QWebFrame' was not declared in this scope
qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp:48: error: 'frame' was not declared in this scope
qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp:48: error: 'QWebFrame' cannot appear in a constant-expression
qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp:48: error: parse error in template argument list
qutim-meta/core/src/corelayers/adiumchat/chatlayer/javascriptclient.cpp:48: error: no matching function for call to 'qobject_cast(QObject*)'
make[2]: *** [core/src/corelayers/adiumchat/CMakeFiles/adiumchat.dir/chatlayer/javascriptclient.cpp.o] Error 1
make[1]: *** [core/src/corelayers/adiumchat/CMakeFiles/adiumchat.dir/all] Error 2

Я обычно исправляю его внесением в core/cmakelists.txt строчки : SET (QT_USE_QTWEBKIT true)

Tags: maemo
smith (aerosmith)
Changed in qutim:
status: New → Fix Committed
Revision history for this message
smith (aerosmith) wrote :

Ммм, похоже я поспешил. После фикса перестало компилиться:
Cannot load library /targets/FREMANTLE_X86/usr/local/lib/qutim/plugins/libwebkitchat.so: (libadiumchat.so: cannot open shared object file: No such file or directory)
"[Core]:" virtual void YandexNarodPlugin::init()
"ChatLayer" service has not been found

При этом если убрать все изменения и в этот же файл добавить SET (QT_USE_QTWEBKIT true), то все работает

Changed in qutim:
status: Fix Committed → Incomplete
Revision history for this message
Aleksey Sidorov (aleksey.sidorov) wrote :

Поиграйся с adiumchat/CMakeLists.txt, пособирай с -DCMAKE_VERBOSE_MAKEFILE
мне неудобно через либастрал эту багу править :(

Revision history for this message
smith (aerosmith) wrote :

Эх. Весь вечер убил, но так и не нашел какого либо решения.
Для себя буду добавлять SET (QT_USE_QTWEBKIT true) в файле adiumchat/CMakeLists.txt
А в репе лучше откатить все назад как было.

Revision history for this message
smith (aerosmith) wrote :

нашел небходимую комбинацию

Changed in qutim:
status: Incomplete → Fix Committed
Changed in qutim:
milestone: none → 0.3b
Changed in qutim:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.