PDA

View Full Version : [qt4]QApplication::setOverrideCursor(waitCursor);



intrajp
31st December 2008, 03:51
I ported but still I have the problem.

When I make editor.cpp,

editor.cpp:181: error: ‘waitCursor’ was not declared in this scope

Well, actually, I make use of the book's code "C++ GUI PROGRAMMING WITH QT3",
are there any good book available for qt4?

But I appreciate anyone can give me quick advice to solve this problem.

Thanks in advance.

aamer4yu
31st December 2008, 05:49
The statement should be

QApplication::setOverrideCursor(Qt::WaitCursor);

intrajp
31st December 2008, 09:23
Thanks !

It worked !