hi,
can anyone tell me why the following code doesn't display the content of the given textfile in the QLabel ?
Qt Code:
trainLabel->setText(in.readAll()); trainLabel->adjustSize();To copy to clipboard, switch view to plain text mode
26.train is a small textfile, trainLabel a simple QLabel. trainLabel->setText("abc"); works fine...
thanks in advance
Bookmarks