PDA

View Full Version : ERROR::QString::operator QNoImplicitBoolCast() const' is private



Krishnacins
20th May 2006, 08:49
Hi,
Im try to compile Qt3's proggram in the environment of Qt4....& getting below ERROR
/usr/local/Trolltech/Qt-4.1.2/include/QtCore/qstring.h:456: error: `
QString::operator QNoImplicitBoolCast() const' is private

Can any body tell me solution????

Thanks
Krishna

zlatko
20th May 2006, 08:56
You cant compile Qt3 program in Qt4 environment. Firts you must port it to Qt 4.
Look here (http://doc.trolltech.com/4.0/porting4.html)

jacek
20th May 2006, 12:45
getting below ERROR
/usr/local/Trolltech/Qt-4.1.2/include/QtCore/qstring.h:456: error: `
QString::operator QNoImplicitBoolCast() const' is private
Could you post the whole error message (including the information about the context of this error)?