Results 1 to 6 of 6

Thread: error: expected class-name before "{" token

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Posts
    10
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: error: expected class-name before "{" token

    Explore/show ui_webcam.h file. Imho there is no Ui::webcam class.

  2. The following user says thank you to Rembobo for this useful post:

    freekill (9th January 2010)

  3. #2
    Join Date
    Sep 2009
    Location
    Tashkent, Uzbekistan
    Posts
    107
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: error: expected class-name before "{" token

    Or it should be something like:
    Qt Code:
    1. webcam ui;
    To copy to clipboard, switch view to plain text mode 
    -- Tanuki

    per cauda vel vaculus cauda

  4. #3
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: error: expected class-name before "{" token

    Quote Originally Posted by Rembobo View Post
    Explore/show ui_webcam.h file. Imho there is no Ui::webcam class.
    So I see. I didn't name the Ui webcam it was Ui::camWidget. This is what flagged me the error. Thanks.

Similar Threads

  1. Replies: 3
    Last Post: 26th April 2009, 17:54
  2. error: expected class-name before '{' token
    By Aresti in forum Qt Programming
    Replies: 1
    Last Post: 12th November 2008, 20:00
  3. Replies: 3
    Last Post: 10th November 2008, 16:14
  4. Replies: 4
    Last Post: 22nd February 2008, 19:08
  5. Replies: 2
    Last Post: 30th January 2008, 20:06

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.