Hi,

That is how a typical .pro file should look like if you want to compile osg 
with qt.


/////////////////////////////////////////////////////7
TEMPLATE = app
QT += opengl

INCLUDEPATH += .
INCLUDEPATH += /usr/include/osg
INCLUDEPATH += /usr/include/osgAnimation
INCLUDEPATH += /usr/include/osgDB
INCLUDEPATH += /usr/include/osgGA
INCLUDEPATH += /usr/include/osgManipulator
INCLUDEPATH += /usr/include/osgViewer
INCLUDEPATH += /usr/include/osgUtil



LIBS += -L/usr/lib64 -losgViewer -losgDB -losgUtil -losg -losgSim

HEADERS += \
    ViewerQT.h \
    AdapterWidget.h \
    OSGQtMainWindow.h \
    Teapot.h \
    SnapImage.h \
    SnapImageHandler.h

SOURCES += \
    AdapterWidget.cpp \
    main.cpp \
    OSGQtMainWindow.cpp \
    ViewerQT.cpp

FORMS += \
    OSGQtWindow.ui

RESOURCES +=


////////////////////////////////////////////////////7

Hope it helps.

Cheers,
Sajjadul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34386#34386





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

Reply via email to