Hello ,
I need to develope a basic GUI in Qt.
I have connected PushButton's Click signal to one custom slot of the Form.
In this slot I want to call a function written in c which is in a separate
file having following prototype & that file is included in my main
application ..
char* file(char *a)
The argument to this function , I want to be text of QLineEdit widget
when i write
Table4->setText(rows,0, file(LineEdit1->text().latin1()));
& compile it gives error
invalid conversion from `const char*' to `char*'
do i need anything else than latin1() ?
How do I overcome this problem ?
Thanx in advance
Kedar