HI,
I have declare in class variables (inside qtdesigner in MainForm.ui.h) Scene scene; (Scene i s a class). After I add (in implementation) include "../M/scene.h" but don't compile; the instance 'scene' is not recognized inside member of MainForm class.
is it possible declare an instance of object inside Designer?
Thanks
ui\mainform.h(140) : error C2327: 'MainForm::Scene' : is not a type name, static, or enumerator
mywidget.cpp
ui\mainform.h(140) : error C2327: 'MainForm::Scene' : is not a type name, static, or enumerator
mymainform.cpp
ui\mainform.h(140) : error C2327: 'MainForm::Scene' : is not a type name, static, or enumerator
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
ui\mainform.h(140) : error C2327: 'MainForm::Scene' : is not a type name, static, or enumerator
mywidget.cpp
ui\mainform.h(140) : error C2327: 'MainForm::Scene' : is not a type name, static, or enumerator
mymainform.cpp
ui\mainform.h(140) : error C2327: 'MainForm::Scene' : is not a type name, static, or enumerator
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
To copy to clipboard, switch view to plain text mode
Bookmarks