prog.cpp:2:1: error: expected class-name before ‘{’ token
{
^
prog.cpp:3:5: error: ‘Q_OBJECT’ does not name a type
Q_OBJECT
^~~~~~~~
prog.cpp:8:5: error: ‘string’ does not name a type
string caliImgName;
^~~~~~
prog.cpp:9:27: error: ‘RES_1016_IMAGE_SIZE’ was not declared in this scope
unsigned char caliImg[RES_1016_IMAGE_SIZE], img_ori[RES_1016_IMAGE_SIZE]={0}, img_dst[RES_1016_IMAGE_SIZE]={0};//, *img_ori, *img_dst
^~~~~~~~~~~~~~~~~~~
prog.cpp:9:57: error: ‘RES_1016_IMAGE_SIZE’ was not declared in this scope
unsigned char caliImg[RES_1016_IMAGE_SIZE], img_ori[RES_1016_IMAGE_SIZE]={0}, img_dst[RES_1016_IMAGE_SIZE]={0};//, *img_ori, *img_dst
^~~~~~~~~~~~~~~~~~~
prog.cpp:9:91: error: ‘RES_1016_IMAGE_SIZE’ was not declared in this scope
unsigned char caliImg[RES_1016_IMAGE_SIZE], img_ori[RES_1016_IMAGE_SIZE]={0}, img_dst[RES_1016_IMAGE_SIZE]={0};//, *img_ori, *img_dst
^~~~~~~~~~~~~~~~~~~
prog.cpp:13:8: error: expected ‘:’ before ‘slots’
public slots:
^~~~~
prog.cpp:13:8: error: ‘slots’ does not name a type
prog.cpp:18:22: error: ‘string’ has not been declared
void readCaliImg(string caliImgName);
^~~~~~
prog.cpp:20:5: error: ‘QLabel’ does not name a type
QLabel *showString, *rCaliImgLOG;
^~~~~~