Results 1 to 8 of 8

Thread: ummm...cursor not changing...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Mar 2006
    Posts
    172
    Thanks
    30
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Angry Re: ummm...cursor not changing...

    CBM, I even did as you said...actually I saw your reply later and edited my post

    This is what I did
    Qt Code:
    1. QApplication::setOverrideCursor(Qt::WaitCursor);
    2. locate.waitForFinished(-1);
    3. QApplication::restoreOverrideCursor();
    To copy to clipboard, switch view to plain text mode 

    And this is the error I got:

    mylayout.cpp: In member function ‘void MyMenuLayout::search()’:
    mylayout.cpp:488: error: incomplete type ‘QApplication’ used in nested name specifier
    mylayout.cpp:490: error: incomplete type ‘QApplication’ used in nested name specifier
    make: *** [mylayout.o] Error 1
    infact I don't even know what it means

    I went through the docs, and the exact same thing is done in one of the examples: A text editor.

    What is wrong?

    Thanks

    Nupul

    PS: i am executing the above on linux....if that's got something to do with this
    Last edited by nupul; 4th May 2006 at 13:36.

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.