Results 1 to 20 of 22

Thread: static function/object accessibility

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: static function/object accessibility

    Well, it is pretty hard to see anything without debugging.
    I recommend doing so in the constructor.

    BTW: "EARTH Earth, the 3rd planet from the sun, is approximately four and a half billion years old.". I think it is older than that, but I'm sure this isn't causing the crash . The planet itself should be as old as the solar system.

    EDIT: Oh, I read only half a billion years , missed the "four".
    Anyway, I see you are on Windows, so debugging should be a lot easier. A step by step debugging should reveal the error.
    Did it work before, when you were not using a singleton?


    Regards
    Last edited by marcel; 19th August 2007 at 12:01.

  2. #2
    Join Date
    Apr 2007
    Location
    Rakovnik, Czech Republic
    Posts
    175
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    43
    Thanked 3 Times in 3 Posts

    Default Re: static function/object accessibility

    Quote Originally Posted by marcel View Post
    EDIT: Oh, I read only half a billion years , missed the "four".
    though i live in CZ, I work for a geologic research institute in Texas... a state in which half the population believes the earth is only 6,000 years old. I've heard Jesus turned water into wine... I guess he turned rocks into oil, too.

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Accessing to a static variable from the same class
    By xgoan in forum General Programming
    Replies: 6
    Last Post: 5th March 2007, 10:50

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.