Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
belzeOffline
Post subject: Compile rekonq-0.6  PostPosted: 16.09.2010, 12:06



Joined: 2010-09-13
Posts: 100

Status: Offline
Hi to all. I have installed kde 4.5 from qt-kde-debian repo and qt-4.7 from experimental. It is very stable, better than when I tried it on arch-linux, and I am very VERY happy with it!
I would like to compile rekonq-0.6 in this environment, but i can't compile it right!
Cmake gives me this
      Code:

--  Qt library found...................... YES
--  Qt version 4.7.0 found!
--
--  KDE Desktop Environment............... YES
--  KDE version 4.5.1 found!
--  rekonq will be compiled............... YES

but when i go with make i get
      Code:
[  0%] Built target kdeinit_rekonq_automoc
[  1%] Building CXX object src/CMakeFiles/kdeinit_rekonq.dir/application.cpp.o
In file included from /home/davide/.bin/rekonq/mainline/src/application.cpp:34:                                                                                             
/home/davide/.bin/rekonq/mainline/src/rekonq.h:9:20: error: QtWebKit: No such file or directory
In file included from /home/davide/.bin/rekonq/mainline/src/application.cpp:40:
/home/davide/.bin/rekonq/mainline/src/history/historymanager.h:48:32: error: QWebHistoryInterface: No such file or directory
In file included from /usr/include/KDE/KWebView:1,
                 from /home/davide/.bin/rekonq/mainline/src/webview.h:36,
                 from /home/davide/.bin/rekonq/mainline/src/webtab.h:36,
                 from /home/davide/.bin/rekonq/mainline/src/application.cpp:49:
/usr/include/KDE/../kwebview.h:31:29: error: QtWebKit/QWebView: No such file or directory
In file included from /home/davide/.bin/rekonq/mainline/src/application.cpp:40:
/home/davide/.bin/rekonq/mainline/src/history/historymanager.h:100: error: expected class-name before ‘{’ token
/home/davide/.bin/rekonq/mainline/src/history/historymanager.h:100: warning: ‘class HistoryManager’ has virtual functions and accessible non-virtual destructor
In file included from /usr/include/KDE/KWebView:1,
                 from /home/davide/.bin/rekonq/mainline/src/webview.h:36,
                 from /home/davide/.bin/rekonq/mainline/src/webtab.h:36,
                 from /home/davide/.bin/rekonq/mainline/src/application.cpp:49:
/usr/include/KDE/../kwebview.h:49: error: expected class-name before ‘{’ token
/usr/include/KDE/../kwebview.h:49: warning: ‘class KWebView’ has virtual functions and accessible non-virtual destructor
In file included from /home/davide/.bin/rekonq/mainline/src/webtab.h:36,
                 from /home/davide/.bin/rekonq/mainline/src/application.cpp:49:
/home/davide/.bin/rekonq/mainline/src/webview.h:46: warning: ‘class WebView’ has virtual functions and accessible non-virtual destructor
/home/davide/.bin/rekonq/mainline/src/application.cpp: In member function ‘virtual int Application::newInstance()’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:107: error: ‘QDir’ has not been declared
/home/davide/.bin/rekonq/mainline/src/application.cpp:150: error: ‘QFile’ has not been declared
/home/davide/.bin/rekonq/mainline/src/application.cpp: In static member function ‘static HistoryManager* Application::historyManager()’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:288: error: ‘QWebHistoryInterface’ has not been declared
/home/davide/.bin/rekonq/mainline/src/application.cpp: In member function ‘void Application::loadResolvedUrl(ThreadWeaver::Job*)’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:437: error: ‘class WebView’ has no member named ‘load’
/home/davide/.bin/rekonq/mainline/src/application.cpp: In member function ‘void Application::updateConfiguration()’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:467: error: ‘QWebSettings’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:467: error: ‘defaultSettings’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:467: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:470: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:471: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:472: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:473: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:474: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:475: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:483: error: ‘class WebView’ has no member named ‘logicalDpiY’
/home/davide/.bin/rekonq/mainline/src/application.cpp:490: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:491: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:495: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:496: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:497: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:498: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:499: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:500: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:501: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:502: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:503: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:506: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:508: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:511: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:512: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:513: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:518: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:519: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp: In member function ‘void Application::addDownload(const QString&, const QString&)’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:537: error: ‘QWebSettings’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:537: error: ‘globalSettings’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:537: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:538: error: ‘QWebSettings’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:541: error: ‘QFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:541: error: expected ‘;’ before ‘downloadFile’
/home/davide/.bin/rekonq/mainline/src/application.cpp:542: error: ‘downloadFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:542: error: ‘QFile’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:542: error: ‘QFile’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:547: error: ‘downloadFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp: In member function ‘DownloadList Application::downloads()’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:560: error: ‘QFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:560: error: expected ‘;’ before ‘downloadFile’
/home/davide/.bin/rekonq/mainline/src/application.cpp:561: error: ‘downloadFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:561: error: ‘QFile’ is not a class or namespace
/home/davide/.bin/rekonq/mainline/src/application.cpp:567: error: ‘downloadFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp: In member function ‘bool Application::clearDownloadsHistory()’:
/home/davide/.bin/rekonq/mainline/src/application.cpp:586: error: ‘QFile’ was not declared in this scope
/home/davide/.bin/rekonq/mainline/src/application.cpp:586: error: expected ‘;’ before ‘downloadFile’
/home/davide/.bin/rekonq/mainline/src/application.cpp:587: error: ‘downloadFile’ was not declared in this scope
In file included from /usr/include/qt4/QtCore/qsharedpointer.h:52,
                 from /usr/include/qt4/QtCore/qdatetime.h:47,
                 from /usr/include/qt4/QtCore/QDateTime:1,
                 from /home/davide/.bin/rekonq/mainline/src/application.h:40,
                 from /home/davide/.bin/rekonq/mainline/src/application.cpp:30:
/usr/include/qt4/QtCore/qsharedpointer_impl.h: In constructor ‘QWeakPointer<T>::QWeakPointer(X*) [with X = HistoryManager, T = HistoryManager]’:
/usr/include/qt4/QtCore/qsharedpointer_impl.h:567:   instantiated from ‘QWeakPointer<T>& QWeakPointer<T>::operator=(X*) [with X = HistoryManager, T = HistoryManager]’
/home/davide/.bin/rekonq/mainline/src/application.cpp:287:   instantiated from here
/usr/include/qt4/QtCore/qsharedpointer_impl.h:562: error: no matching function for call to ‘QtSharedPointer::ExternalRefCountData::getAndRef(HistoryManager*&)’
/usr/include/qt4/QtCore/qsharedpointer_impl.h:192: note: candidates are: static QtSharedPointer::ExternalRefCountData* QtSharedPointer::ExternalRefCountData::getAndRef(const QObject*)
make[2]: *** [src/CMakeFiles/kdeinit_rekonq.dir/application.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/kdeinit_rekonq.dir/all] Error 2
make: *** [all] Error 2

Can anybody point me to solve this? Thanks in advice!
 
 View user's profile Send private message  
Reply with quote Back to top
knudflOffline
Post subject: RE: Compile rekonq-0.6  PostPosted: 19.09.2010, 20:00



Joined: 2010-09-19
Posts: 1

Status: Offline
""/home/davide/.bin/rekonq/mainline/src/rekonq.h:9:20:
error: QtWebKit: No such file or directory""

'QtWebKit' is a header in : /usr/include/qt4/QtWebKit/
which in Debian is provided by the separate package 'libqtwebkit-dev'.

'rekonq' is relying on a fully installed qt4(-dev).
And thus not checking for the missing QtWebKit files.
Most ( all ? ) other Linux : the files are included in (lib)qt4-devel.

Kind Regards , knudfl
 
 View user's profile Send private message  
Reply with quote Back to top
belzeOffline
Post subject: RE: Compile rekonq-0.6  PostPosted: 20.09.2010, 23:58



Joined: 2010-09-13
Posts: 100

Status: Offline
thank you very much this was the package i was looking for! great!!!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio