A problem about OpenInventor 6.1.0
- From: Jordi <giampaoloqi@xxxxxxxxx>
- Date: Fri, 14 Sep 2007 01:16:27 -0000
Hi Sir:
Now I use Red Hat Enterprise 4. When I program in KDevelop 3.4.1, I am
trapped by a serious problem.And my Qt's version is 4.2.3.
I found that when I used OIV class, there are many bugs in my program.
Such as:
#include "exedlg.h"
#include <QMessageBox>
#include <QString>
#include <QPushButton>
#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
ExeDlg::ExeDlg( QWidget* parent, Qt::WindowFlags f )
: QDialog( parent,f )
{
ui.setupUi(this);
m_examinerViewer = new SoQtExaminerViewer (this);
}
In the ExeDlg constructor method, I used SoQtExaminerViewer to define
m_examinerViewer.
But when I compile it, I get the bug:
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/local/src/Qt4.2.3/mkspecs/default -I.
-I/usr/local/src/Qt4.2 .3/include/QtCore -I/usr/local/src/Qt4.2.3/
include/QtCore -I/usr/local/src/Qt4.2 .3/include/QtGui -I/usr/local/
src/Qt4.2.3/include/QtGui -I/usr/local/src/Qt4.2.3 /include -I/usr/
local/src/Qt4.2.3/include/Qt3Support -I/usr/local/src/Qt4.2.3/in clude
-I/usr/local/src/OpenInventor/include -I. -Imoc -IUI -o obj/exedlg.o
UI/ex edlg.cpp
In file included from /usr/local/src/OpenInventor/include/Inventor/Qt/
viewers/So QtFullViewer.h:35,
from /usr/local/src/OpenInventor/include/Inventor/Qt/
viewers/So QtExaminerViewer.h:31,
from UI/exedlg.cpp:27:
/usr/local/src/Qt4.2.3/include/Qt3Support/q3popupmenu.h: In member
function `int Q3PopupMenu::exec()':
/usr/local/src/Qt4.2.3/include/Qt3Support/q3popupmenu.h:40: error:
`findIdForAct ion' was not declared in this scope
/usr/local/src/Qt4.2.3/include/Qt3Support/q3popupmenu.h:40: warning:
unused vari able 'findIdForAction'
/usr/local/src/Qt4.2.3/include/Qt3Support/q3popupmenu.h: In member
function `int Q3PopupMenu::exec(const QPoint&, int)':
/usr/local/src/Qt4.2.3/include/Qt3Support/q3popupmenu.h:42: error:
`findIdForAct ion' was not declared in this scope
/usr/local/src/Qt4.2.3/include/Qt3Support/q3popupmenu.h:42: warning:
unused vari able 'findIdForAction'
make: *** [obj/exedlg.o]
Would you help me ?
thanx.
Giampaolo
.
- Prev by Date: Re: Serial (RS232) communication - failing to detect stop bit
- Next by Date: permissions of shared memory segments
- Previous by thread: Re: Serial (RS232) communication - failing to detect stop bit
- Next by thread: permissions of shared memory segments
- Index(es):