PDA

View Full Version : Error: ‘class QSettings’ has no member named ‘readEntry’



augusbas
29th June 2009, 06:13
In my program:

error: ‘class QSettings’ has no member named ‘readEntry’

Please help on the above.

aamer4yu
29th June 2009, 06:26
Have u included header properly ?
Also can we see some code ? how u call readEntry ..

gsmiko
29th June 2009, 07:09
Hi augusbas!

It's true, QSettings class doesn't have a readEntry function anymore, but you can still find it in the Qt3 support layer (http://doc.trolltech.com/4.5/qsettings-qt3.html). Arou you sure you had made the steps required to use Qt3 support module, which are described on this page (http://doc.trolltech.com/4.5/qt3support.html#details)?