hey,I got this errors 
/home/heena/build/ptedit_1.h:313:5: error: ‘UI’ does not name a type
/home/heena/build/main.cpp: In function ‘int main(int, char**)’:
/home/heena/build/main.cpp:8:1: error: ‘UI’ has not been declared
/home/heena/build/main.cpp:8:12: error: expected ‘;’ before ‘ui’
/home/heena/build/main.cpp:9:1: error: ‘ui’ was not declared in this scope
main.cpp -
#include"ptedit_1.h"
#include"kcheckcombobox.h"

intmain(intargc,char*argv[])
{
QApplicationapp(argc,argv);
QWidget*widget=newQWidget;
UI::pteditui;//this statement is giving syntactical error, I tried to write it 
write class Ui_MainWindow but in vain.
ui.setupUi(widget);
widget->show();
returnapp.exec();
}
I tried to include ui_ptedit.h but it is giving more errors ,Please have a look.
Regards 
Bye
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to