[Gammaray-interest] Compiling Gammaray without having webkit

Adam Light aclight at gmail.com
Thu Mar 29 22:44:51 CEST 2012


Hi

I'm trying to compile GammaRay on Macintosh. We use a custom build of
Qt 4.8.1 which does not include webkit (we use the -no-webkit
configuration option for Qt).

I followed the GammaRay build instructions and got this:

Scanning dependencies of target gammaray_webinspector_plugin
[ 99%] Building CXX object
tools/webinspector/CMakeFiles/gammaray_webinspector_plugin.dir/webinspector.cpp.o
In file included from
/Users/aclight/Documents/gammaray/GammaRay/tools/webinspector/webinspector.cpp:24:
/Users/aclight/Documents/gammaray/GammaRay/tools/webinspector/webinspector.h:29:22:
error: qwebpage.h: No such file or directory
In file included from
/Users/aclight/Documents/gammaray/GammaRay/tools/webinspector/webinspector.cpp:24:
/Users/aclight/Documents/gammaray/GammaRay/tools/webinspector/webinspector.h:49:
error: ‘QWebPage’ was not declared in this scope
/Users/aclight/Documents/gammaray/GammaRay/tools/webinspector/webinspector.h:49:
error: template argument 1 is invalid
In file included from
/Users/aclight/Documents/gammaray/GammaRay/tools/webinspector/webinspector.cpp:62:
/Users/aclight/Documents/gammaray/GammaRay/build/tools/webinspector/webinspector.moc:
In member function ‘virtual void*
GammaRay::WebInspectorFactory::qt_metacast(const char*)’:
/Users/aclight/Documents/gammaray/GammaRay/build/tools/webinspector/webinspector.moc:146:
error: invalid static_cast from type ‘GammaRay::WebInspectorFactory*’
to type ‘GammaRay::StandardToolFactory<QWebPage,
GammaRay::WebInspector>*’
/Users/aclight/Documents/gammaray/GammaRay/build/tools/webinspector/webinspector.moc:148:
error: invalid static_cast from type ‘GammaRay::WebInspectorFactory*’
to type ‘GammaRay::ToolFactory*’
make[2]: *** [tools/webinspector/CMakeFiles/gammaray_webinspector_plugin.dir/webinspector.cpp.o]
Error 1
make[1]: *** [tools/webinspector/CMakeFiles/gammaray_webinspector_plugin.dir/all]
Error 2
make: *** [all] Error 2

Is it possible to configure GammaRay to not build the webinspector plugin?

For what it's worth, I have never used cmake before, so please forgive
me if this is a stupid question.

Thanks
Adam


More information about the Gammaray-interest mailing list