[osg-users] osgQtBrowser error while compiling.

20 views
Skip to first unread message

Ümit Uzun

unread,
Jan 18, 2010, 5:39:11 AM1/18/10
to OSG
Hi All,

When I compile last revision on svn I get ">c:\qt\4.6.0\include\qtwebkit\../../src/3rdparty/webkit/WebCore/../WebKit/qt/Api/qwebelement.h(23) : fatal error C1083: Cannot open include file: 'QString': No such file or directory"
error because of qwebelement.h class has "#include <QString>" and also osgQtBrowser has only "C:\Qt\4.6.0\include" path in Additional Include directories field.
So there should be "C:\Qt\4.6.0\include\qt" too in CMake configuration to find QString header, shouldn't there?

Or Am I missing something?
Regards.

Ümit Uzun

Ümit Uzun

unread,
Jan 18, 2010, 5:44:06 AM1/18/10
to OSG
I have mean "C:\Qt\4.6.0\include\QtCore"

Ümit Uzun


2010/1/18 Ümit Uzun <umitu...@gmail.com>

Riccardo Corsi

unread,
Jan 20, 2010, 10:00:45 AM1/20/10
to OpenSceneGraph Users
Hi Umit,

I encountered the same problem, and it's due to some changes in the QtWebKit include files between versions 4.5.3 and 4.6.0.
Please find attached a patch and the full source file that fix the problem.

I'll post these changes to osg-submission as well.
Cheers,
Ricky



_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


osgQtBrowser.zip
Reply all
Reply to author
Forward
0 new messages