Всем доброго времени суток!
Нашел на сайте интересный компонент:
http://hardclub.donntu.edu.ua/projects/qt/components/datafile.htmдля работы с ini файлами. Скачал и решил им воспользоваться.
Но как оказалось он написан под Qt 3.3, из-за чего возникло много ошибок, при компиляции на Qt 4.4, большенство из них я победил, но осталось несколько ошибок, с которыми я ничего не могу поделать (на Qt програмирую недавно).
Подскажите, ктонибудь переводил компонент TDataFile под Qt 4? Или может кто знает аналогичные компоненты, для работы с ini файлами.
ЗЫ: вот ошибки, которые я так и не смог победить:
tdatafile.cpp(15) : error C2512: 'QMapIterator<Key,T>' : no appropriate default constructor available
with [ Key=QString, T=type_ValueList ]
tdatafile.cpp(120) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion)
tdatafile.cpp(200) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'QMap<Key,T>::iterator' (or there is no acceptable conversion)
with [ Key=QString, T=type_ValueList ]
tdatafile.cpp(201) : error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'QMapIterator<Key,T>' (or there is no acceptable conversion)
with [ Key=QString, T=type_ValueList ]
tdatafile.cpp(207) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'QMapIterator<Key,T>' (or there is no acceptable conversion)
with [ Key=QString, T=type_ValueList ]
tdatafile.cpp(209) : warning C4172: returning address of local variable or temporary
tdatafile.cpp(215) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'QMapIterator<Key,T>' (or there is no acceptable conversion)
with [ Key=QString, T=type_ValueList ]
Всем заранее спасибо!