Results 1 to 3 of 3

Thread: TypeError: Object [object Object] has no method 'sendData'

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: TypeError: Object [object Object] has no method 'sendData'

    You register a type called "Sender", but you don't seem to have an obect of that type.

    Did you want to export the Sender instance objS? In that case look for QQmlContext::setContextProperty()

    Cheers,
    _

  2. The following 2 users say thank you to anda_skoa for this useful post:

    TheIndependentAquarius (30th November 2013)

  3. #2
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default Re: TypeError: Object [object Object] has no method 'sendData'

    Quote Originally Posted by anda_skoa View Post
    You register a type called "Sender", but you don't seem to have an obect of that type.
    _
    That was the exact problem. Thank much.
    Last edited by TheIndependentAquarius; 30th November 2013 at 07:10.

  4. The following user says thank you to TheIndependentAquarius for this useful post:


Similar Threads

  1. Replies: 0
    Last Post: 28th May 2012, 20:56
  2. How to call a function in the mother object from a child object?
    By Momergil in forum General Programming
    Replies: 4
    Last Post: 18th December 2011, 16:49
  3. Replies: 1
    Last Post: 8th November 2011, 23:27
  4. Replies: 4
    Last Post: 15th July 2011, 19:31
  5. Replies: 4
    Last Post: 20th August 2010, 14:07

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.