Results 1 to 3 of 3

Thread: [qt4]QApplication::setOverrideCursor(waitCursor);

  1. #1
    Join Date
    Dec 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default [qt4]QApplication::setOverrideCursor(waitCursor);

    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.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [qt4]QApplication::setOverrideCursor(waitCursor);

    The statement should be
    QApplication::setOverrideCursor(Qt::WaitCursor);

  3. #3
    Join Date
    Dec 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Talking Re: [qt4]QApplication::setOverrideCursor(waitCursor);

    Thanks !

    It worked !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.