Hi Robert,
now fixed. Works excellently. Thanks. There are just few warnings (see
bellow).
Anyway, works now. Thanks,
John
[ 97%] Building CXX object
src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.o
Linking CXX shared module ../../../lib/osgPlugins-2.9.8/osgdb_bvhd.so
[ 97%] Building CXX object
src/osgQt/CMakeFiles/osgQt.dir/QGraphicsViewAdapter.o
In file included from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:14:
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:94:7:
warning: no newline at end of file
In file included from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:15:
/data/Cadwork/OSG-trunk/include/osgQt/QWidgetImage:53:7: warning: no
newline at end of file
[ 97%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QWidgetImage.o
In file included from /data/Cadwork/OSG-trunk/include/osgQt/QWidgetImage:18,
from /data/Cadwork/OSG-trunk/src/osgQt/QWidgetImage.cpp:14:
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:94:7:
warning: no newline at end of file
In file included from /data/Cadwork/OSG-trunk/src/osgQt/QWidgetImage.cpp:14:
/data/Cadwork/OSG-trunk/include/osgQt/QWidgetImage:53:7: warning: no
newline at end of file
[ 97%] Building CXX object
src/osgQt/CMakeFiles/osgQt.dir/__/__/include/osgQt/moc_QGraphicsViewAdapter.o
In file included from
/data/Cadwork/OSG-trunk/build-Linux/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:10:
/data/Cadwork/OSG-trunk/build-Linux/src/osgQt/__/__/include/osgQt/../../../../../../../include/osgQt/QGraphicsViewAdapter:94:7:
warning: no newline at end of file
Linking CXX shared library ../../lib/libosgQtd.so
[ 98%] Built target
osgQt
Robert Osfield wrote:
Hi John,
I believe that osgQt has probably failed to build now rather before as
previously osgQt required QWebKit to be installed, but this
requirement has now been relaxed by moving the QWebKit integration to
entirely within the include/osgQT/QWebViewImage.
Alas, in my refactor I clearly didn't catch cleanig up the QWebKit
headers, I've now removed the headers from QGraphicsViewAdapter and
checked this into svn/trunk. Could you please try out svn/trunk to
see how it now builds, hopefully it'll now build with 4.4.0.
Robert.
On Tue, Jun 1, 2010 at 11:02 AM, PCJohn <[email protected]> wrote:
Just reporting a compile problem in OSG trunk in osgQt. See compiler output
bellow.
The problem was noticed on Qt 4.4.0. While it is not present on some more
recent Qt versions.
Probably broken compatibility with older Qt.
John
Scanning dependencies of target osgQt
[ 98%] Building CXX object
src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.o
[ 98%] Building CXX object
src/osgQt/CMakeFiles/osgQt.dir/QGraphicsViewAdapter.o
In file included from /usr/include/qt4/QtWebKit/QWebSettings:1,
from
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:21,
from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:14:
/usr/include/qt4/QtWebKit/qwebsettings.h:23:27: error: qwebkitglobal.h: No
such file or directory
In file included from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:14:
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:95:7: warning: no
newline at end of file
In file included from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:15:
/data/Cadwork/OSG-trunk/include/osgQt/QWidgetImage:53:7: warning: no newline
at end of file
In file included from /usr/include/qt4/QtWebKit/QWebSettings:1,
from
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:21,
from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:14:
/usr/include/qt4/QtWebKit/qwebsettings.h:41: error: function definition does
not declare parameters
In file included from /usr/include/qt4/QtWebKit/QtWebKit:6,
from
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:22,
from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:14:
/usr/include/qt4/QtWebKit/qwebpage.h:172: warning: ISO C++ forbids
declaration of ‘QWebSettings’ with no type
/usr/include/qt4/QtWebKit/qwebpage.h:172: error: expected ‘;’ before ‘*’
token
In file included from /usr/include/qt4/QtWebKit/QtWebKit:9,
from
/data/Cadwork/OSG-trunk/include/osgQt/QGraphicsViewAdapter:22,
from
/data/Cadwork/OSG-trunk/src/osgQt/QGraphicsViewAdapter.cpp:14:
/usr/include/qt4/QtWebKit/qwebview.h:71: warning: ISO C++ forbids
declaration of ‘QWebSettings’ with no type
/usr/include/qt4/QtWebKit/qwebview.h:71: error: expected ‘;’ before ‘*’
token
make[2]: *** [src/osgQt/CMakeFiles/osgQt.dir/QGraphicsViewAdapter.o] Error 1
make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Error 2
make: *** [all] Error 2
j...@dudell:/data/Cadwork/OSG-trunk/build-Linux$
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org