Results 1 to 3 of 3

Thread: QMutex QMutex::Recursive is not a type name

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default QMutex QMutex::Recursive is not a type name

    Hi all !

    I have a class, which has a member

    Qt Code:
    1. QMutex mutex(QMutex::Recursive);
    To copy to clipboard, switch view to plain text mode 

    but the compiler says, that QMutex::Recursive is not a type name. But I need the Recursive Mode, cause the default Mode doesn't help me.
    QMutex is included.

    thx
    Last edited by high_flyer; 9th May 2011 at 11:46. Reason: code tags

Similar Threads

  1. QThread + QMutex example
    By eleanor in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2010, 16:48
  2. QMutex seems not to lock()
    By sylvaticus in forum Qt Programming
    Replies: 18
    Last Post: 4th December 2009, 10:39
  3. QMutex
    By weixj2003ld in forum Qt Programming
    Replies: 6
    Last Post: 14th April 2009, 22:32
  4. New to QMutex
    By durbrak in forum Qt Programming
    Replies: 3
    Last Post: 12th March 2009, 21:16
  5. QMutex and QDataStream
    By babu198649 in forum Newbie
    Replies: 15
    Last Post: 12th April 2008, 12:25

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.