Hi,
Within my application class header i have implemented global forward class declaration as follows:
#include bla
class Prep;
Prep* pPrep;
class Prep : public QMainWindow
{
....
};
When compiling im getting to following error messages:
.obj/main.o/user/lib/qt3/include/qglist.h first defined here line 150
.obj/navTopDlg.o:/usr/lib/qt3/include/qglist.h multiple definition of pPrep line 150
/usr/lib/qt3/include/qglist.h multiple definitions of pntPrep line 150
was just wondering if anyone knew anything about this problem with qglist when making forward class declarations.
Bookmarks