On 12/01/2010 06:18 AM, Robert Osfield wrote:
If you do a build of svn/trunk let me know how you get on and what
platforms you've tested, I want to know success and failures as it's
important to know how well things are converging for the release.
Hi, Robert,
Building on the brand new Red Hat Enterprise Linux 6... (gcc-4.4.4,
CMake 2.6.4)
Build almost completes, but there's a problem with the osgQtWidgets
example (errors below). I did some Googling and discovered that, while
RHEL6 ships with Qt 4.6, they deliberately left out the QtWebkit module.
I couldn't find exactly why, but there was some speculation that it was
a security-related issue. It's possible they'll reintroduce it a future
point release. Currently, though, this prevents a clean build if
examples are enabled. I'm not a Qt expert, so I'm not sure what the best
way to address this would be.
[100%] Building CXX object
examples/osgQtWidgets/CMakeFiles/example_osgQtWidgets.dir/osgQtWidgets.o
In file included from
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:52:
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:20:29: error:
QtWebKit/QtWebKit: No such file or directory
In file included from
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:52:
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:53: warning:
ISO C++ forbids declaration of ‘QWebView’ with no type
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:53: error:
expected ‘;’ before ‘*’ token
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:54: error:
expected ‘;’ before ‘QWebPage’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:54: warning:
ISO C++ forbids declaration of ‘QWebPage’ with no type
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:54: error:
expected ‘;’ before ‘*’ token
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:55: error:
expected ‘;’ before ‘QGraphicsViewAdapter’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:92: error:
‘QWebView’ was not declared in this scope
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:92: error:
template argument 1 is invalid
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:93: error:
‘QWebPage’ was not declared in this scope
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:93: error:
template argument 1 is invalid
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage: In constructor
‘osgQt::QWebViewImage::QWebViewImage()’:
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:37: error:
expected type-specifier before ‘QWebView’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:37: warning:
invalid conversion from ‘int*’ to ‘int’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:37: error:
expected ‘;’ before ‘QWebView’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:39: error:
expected type-specifier before ‘QWebPage’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:39: warning:
invalid conversion from ‘int*’ to ‘int’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:39: error:
expected ‘;’ before ‘QWebPage’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:40: error: base
operand of ‘->’ is not a pointer
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:40: error:
‘QWebSettings’ has not been declared
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:41: error: base
operand of ‘->’ is not a pointer
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:41: error:
‘QWebSettings’ has not been declared
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:43: error: base
operand of ‘->’ is not a pointer
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:45: error:
request for member ‘data’ in
‘((osgQt::QWebViewImage*)this)->osgQt::QWebViewImage::_webView’, which
is of non-class type ‘int’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage: In member
function ‘virtual void osgQt::QWebViewImage::navigateTo(const
std::string&)’:
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:50: error: base
operand of ‘->’ is not a pointer
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage: In member
function ‘virtual bool osgQt::QWebViewImage::sendFocusHint(bool)’:
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:70: warning:
invalid conversion from ‘int’ to ‘QObject*’
/root/OpenSceneGraph-svn-src/include/osgQt/QWebViewImage:70: warning:
initializing argument 1 of ‘static bool
QCoreApplication::sendEvent(QObject*, QEvent*)’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp: In
function ‘int main(int, char**)’:
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:209:
error: ‘QWebPage’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:209:
error: ‘webPage’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:209:
error: expected type-specifier before ‘QWebPage’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:209:
error: expected ‘;’ before ‘QWebPage’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:210:
error: ‘QWebSettings’ has not been declared
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:211:
error: ‘QWebSettings’ has not been declared
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:213:
error: ‘QWebView’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:213:
error: ‘webView’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:213:
error: expected type-specifier before ‘QWebView’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:213:
error: expected ‘;’ before ‘QWebView’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:306:
error: ‘QWebPage’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:306:
error: ‘webPage’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:306:
error: expected type-specifier before ‘QWebPage’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:306:
error: expected ‘;’ before ‘QWebPage’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:307:
error: ‘QWebSettings’ has not been declared
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:308:
error: ‘QWebSettings’ has not been declared
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:310:
error: ‘QWebView’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:310:
error: ‘webView’ was not declared in this scope
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:310:
error: expected type-specifier before ‘QWebView’
/root/OpenSceneGraph-svn-src/examples/osgQtWidgets/osgQtWidgets.cpp:310:
error: expected ‘;’ before ‘QWebView’
make[2]: ***
[examples/osgQtWidgets/CMakeFiles/example_osgQtWidgets.dir/osgQtWidgets.o]
Error 1
make[1]: ***
[examples/osgQtWidgets/CMakeFiles/example_osgQtWidgets.dir/all] Error 2
make: *** [all] Error 2
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org