Results 1 to 10 of 10

Thread: erro code undeclared With timer

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,371
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: erro code undeclared With timer

    If you are having problems with the compiler then they are related to the language and not the framework you are using.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: erro code undeclared With timer

    How do you mean?
    The error messages are related to variables you are attempting to use but are defined in the scope you are trying to use them. This comment:
    Quote Originally Posted by wysota
    Come on, ui->lcdSeconds and ui->lcdMinutes?
    tells you how to fix this problem. It's exactly the same problem repeated from earlier in the thread and demonstrates that you have difficulty understanding how C++ variables are declared/used and the limits of their visibility. Note that this has nothing to do with Qt itself: just you, the C++ language and compiler.

    Do you know what ui is? How do you access members of the ui object? What members are there?

Similar Threads

  1. timer problem(timer does not work)
    By masuk in forum Newbie
    Replies: 6
    Last Post: 14th February 2011, 05:00
  2. hello.qt make erro!
    By soliveira in forum Newbie
    Replies: 5
    Last Post: 11th February 2010, 01:48
  3. undeclared QSslCertificate
    By labaga in forum Newbie
    Replies: 5
    Last Post: 3rd December 2008, 09:30
  4. Q_UINT32 undeclared !
    By darshan.hardas in forum Qt Programming
    Replies: 1
    Last Post: 23rd October 2007, 09:11
  5. undeclared method - GUI Styles
    By Amanda in forum Qt Programming
    Replies: 2
    Last Post: 19th November 2006, 13:43

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.