Hi Simon,

I haven't been able to past this error in ccmake configure...

 CMake Error at examples/qosgwidget/CMakeLists.txt:3 (QT4_WRAP_UI):
   Unknown CMake command "QT4_WRAP_UI".

I also wonder if there are other compliance issues with placing this in
the osg/examples branch as every other example starts with "osg".  If
you have the time and energy to get this Robert ready, got for it!

-Don

Simon Loic wrote:
Hi Don, any news from you?
BTW, aren't there interested users in commenting Don's work. I'm a bit surprised as I've seen recently threads from users expecting better integration of osg in QT applications. Maybe worth posting about it on osg-users ML?
Cheers,
Loïc


On Fri, Jun 5, 2009 at 12:48 AM, Simon Loic <[email protected] <mailto:[email protected]>> wrote:

    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]
    <mailto:[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]
        <mailto:[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