[Solved] Strange error
-
Hellow when i try compile this code:
@QString str = QDir::currentPath + "\settings.ini";@
I get strange error: Error 2 error C2296: +: invalid, the left operand is of type "QString (__cdecl *) (void)" c: \ Documents and Settings \ rustam \ My Documents \ Visual Studio 2008 \ Projects \ RizekColorManager \ RizekColorManager \ Settings \ Settings.cpp 30
But there are "QString QDir::currentPath ()" in assistant
Why is this happening?
Advance many thanks for uour help! -
and don't forget to use double backslash in your static filename.
-