Hello,
I do not know the code, but I think WFlags belongs to Qt and is a parameter that can be passed to different QWidgets. So the constructor for QWidget looks like this:
QWidget ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 ) . Most probably the QGLWidgets are derived from some QWidget or so. May be that gives you already some direction to search.
Good Luck,
Bjoern Zehner


----- Ursprüngliche Nachricht -----
Von: Srikanth Bemineni <[EMAIL PROTECTED]>
Datum: Mittwoch, 30. April 2008, 8:08
Betreff: [Opensg-users] Wflag error while compiling
An: opensg-users <[email protected]>

> I am repeatedly getting this error.I am new to opensg can helpme out
> with this.
>
> [EMAIL PROTECTED] openglgm]# make
>  g++ -c -pipe -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE -DOSG_WITH_GLUT
>  -DOSG_WITH_QT -DOSG_WITH_TIF -DOSG_WITH_JPG -DOSG_WITH_PNG
>  -D_OSG_HAVE_CONFIGURED_H_ -DQT_NO_XINERAMA -DQT_NO_XRENDER
>  -DQT_NO_XFTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT -
> DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -
> DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE -
> DQT_NO_STYLE_COMPACT -ansi
>  -use_readonly_const -ftemplate-depth-100 -g -DOSG_DEBUG -
> DOSG_WITH_QT -DOSG_WITH_GLUT -DOSG_WITH_TIF -DOSG_WITH_JPG -
> DOSG_WITH_PNG -I/usr/lib/qt-3.3/include
>  -I/tmp/OpenSG_db_gc3/OpenSG/Builds/i686-pc-linux-gnu-
> g++/include -O2
>  -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
>  -DQT_SHARED -I/usr/local/Trolltech/Qt-4.3.4/mkspecs/linux-
> g++ -I.
>  -I/usr/local/Trolltech/Qt-4.3.4/include/QtCore
>  -I/usr/local/Trolltech/Qt-4.3.4/include/QtCore
>  -I/usr/local/Trolltech/Qt-4.3.4/include/QtGui
>  -I/usr/local/Trolltech/Qt-4.3.4/include/QtGui
>  -I/usr/local/Trolltech/Qt-4.3.4/include -I.
>  -I/usr/local/OpenSG-1.8.0-redhat4-dbg/include
>  -I/usr/local/Trolltech/Qt-4.3.4/include/QtOpenGL -I. -I. -o
>  gmmainwidget.o gmmainwidget.cpp
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGDynamicVolume.inl: In member function
> 'const osg::Volume&
>  osg::DynamicVolume::getInstance() const':
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGDynamicVolume.inl:62: warning:
> dereferencing type-punned pointer will break strict-aliasing
>  rules
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGDynamicVolume.inl: In member function
> 'osg::Volume& osg::DynamicVolume::getInstance()':
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGDynamicVolume.inl:69: warning:
> dereferencing type-punned pointer will break strict-aliasing
>  rules
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGActorBase.inl: At global scope:
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGActorBase.inl:63: warning: unused
> parameter 'source'
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGQGLWidget_qt.h:94: error: 'WFlags'
> has not been declared
>  /usr/local/OpenSG-1.8.0-redhat4-
> dbg/include/OpenSG/OSGQGLWidget_qt.h:100: error: 'WFlags'
> has not been declared
>  make: *** [gmmainwidget.o] Error 1
>
> --
> With Regards
>   Srikanth
> 9886609625
>
> -----------------------------------------------------------------
> --------
> This SF.net email is sponsored by the 2008 JavaOne(SM)
> Conference
> Don't miss this year's exciting event. There's still time to
> save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users

-------------------------------------------------------------------------
Dr. Bjoern Zehner
UFZ Centre for Environmental Research Leipzig-Halle
Permoserstrasse 15
04318 Leipzig
Germany
http://www.ufz.de/index.php?en=5673
Tel: ++49 (341) 235 3979
Fax: ++49 (341) 235 3939

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to