Don,
you're perfectly right, you need to put it i the osg/examples directory and
add the directive : ADD_SUBDIRECTORY(qosgwidget)
in osg/examples/CMakeLists.txt
It is totally possible to write a CMakeLists.txt for a stand alone
application (linked against osg libs). But, as Robert seemed to have a
preference for the other way around, I sticked with it. Anyway if you want
the stand alone version just let me know.
friendly,
Loïc Simon


On Thu, Jun 4, 2009 at 10:31 PM, Don Leich <[email protected]> wrote:

> Hmmm.  I had someone with both OSG and cmake expertise look at the
> qosgwidget
> submission and determine that there were large pieces missing in the cmake
> infrastructure, probably provided by the local environment of the
> submittor,
> in this case, Simon.  Re-reading his email again, does this imply that in
> order
> to build this submission it needs to be placed in directory under
> OSG/examples?
>
> -Don
>
> >
> > Hi Robert, Don
> > here is a corrected version with support of QT via cmake.
> > To test it, one just need to extract the archive in the OSG/example
> > directory and add one line in the OSG/examples/CMakeLists.txt file :
> >     ADD_SUBDIRECTORY(qosgwidget)
> > IMHO this example better demonstrates the integration osg with qt than
> the
> > existing osgviewerQT as moc is used.
> > BTW I added a StatsHandler and a ThreadingHandler to demonstrate the
> > support
> > of different threading models.
> > Lo?c Simon
> >
> >
> >
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to