Results 1 to 6 of 6

Thread: findChild(ObjectName) fails?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    14
    Thanks
    5

    Default Re: findChild(ObjectName) fails?

    Thanks. I get it. This MyGui is not a child of the caller class. Emmm. Need to look for another method of finding an object.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    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: findChild(ObjectName) fails?

    Store a pointer somewhere or use signals and slots.

  3. The following user says thank you to wysota for this useful post:

    Ran (21st January 2008)

  4. #3
    Join Date
    Jan 2008
    Posts
    14
    Thanks
    5

    Default Re: findChild(ObjectName) fails?

    Thanks wysota! The method "signal and slot" does the job very well.

Similar Threads

  1. Release build fails to find some resource images
    By MrGarbage in forum Installation and Deployment
    Replies: 3
    Last Post: 8th December 2007, 16:04
  2. Qt 4.3 build fails Suse?linux
    By almost in forum Installation and Deployment
    Replies: 3
    Last Post: 19th July 2007, 21:23
  3. CreateCompatibleBitmap fails in QPixmap
    By JimBrown in forum Qt Programming
    Replies: 14
    Last Post: 29th May 2007, 15:24
  4. QtService fails to start
    By a550ee in forum Qt Programming
    Replies: 1
    Last Post: 9th November 2006, 13:34
  5. Qt 4.1.2 Fails to build on Linux
    By rohandhruva in forum Installation and Deployment
    Replies: 6
    Last Post: 16th April 2006, 21:44

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.