I'm new to C++/QT and am porting a program i made in VB to linux.
I have found QT to be very nice, and almost compareable to VB, in the use of slots.
My problem, is trying to set the text of lineedit widget, below is my code:
QString filename = QFileDialog::getOpenFileName(
"open file dialog"
"Choose a MP3 file" );
//set the linedit text to the file selected in the dialog
LineEdit2->setText( filename );
"invalid use of undefined type 'struct QLineEdit'"
i checked and setText is part of the QLineEdit class and LineEdit2 IS the name of
the qlineedit widget...any ideas?