Hi all
I've encountered a problem in creating dictionaries for header files
which include a Qt header file.
> $ROOTSYS/bin/rootcint -f mySmallClassDict.cpp -c -I$QTDIR/include
mySmallClass.h mySmallClassLinkDef.h
Error: Illegal pointer operation (tovalue)
FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:148
Error: operator '/' divided by zero
FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:148
Syntax Error: defined(_SCO_DS)/*SCOOpenServer5+GCC*/
FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:148
Error: Illegal pointer operation (tovalue)
FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:150
Error: operator '/' divided by zero
FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:150 Syntax Error: defined(__USLC__)/*allSCOplatforms+UDKorOUDK*/ FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:150Error: Illegal pointer operation (tovalue) FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:153 Syntax Error: defined(__svr4__)&&defined(i386)/*OpenUNIX8+GCC*/ FILE:/opt/qt-3.3.2-gcc3/include/qglobal.h LINE:153 #error "Qt has not been ported to this OS - talk to qt-bugs_at_trolltech.com" Error: Function :data(0) is not defined in current scope FILE:/opt/qt-3.3.2-gcc3/include/qgarray.h LINE:116 Possible candidates are...
and my header file looks like:
#include <qstring.h>
#include <TObject.h>
using namespace std;
class mySmallClass:public TObject
{
private:
QString name; //!
int data;
public:
mySmallClass(const QString& n="",int d=0);
~mySmallClass();
int getData()const;
QString getName()const;
void setData(int d);
ClassDef(mySmallClass,2)
};
Greetings
Katharina Ehrhardt
Received on Tue May 03 2005 - 15:44:29 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET