Results 1 to 2 of 2

Thread: Repeater and itemAt undefined references

  1. #1
    Join Date
    Jun 2009
    Location
    Krakow, Poland
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Repeater and itemAt undefined references

    Hi
    I have issue with Repeater and his function itemAt(index). When I'm trying to find item in repeater I'm getting error:
    Qt Code:
    1. TypeError: Result of expression 'dystrRepeater.itemAt' [undefined] is not a function.
    To copy to clipboard, switch view to plain text mode 
    Function where error appears:
    Qt Code:
    1. function autoRelease(number, isAuto)
    2. {
    3. var dystr = dystrRepeater.itemAt(parseInt(number- 1))
    4. dystr.isAutoRelease = isAuto
    5. }
    To copy to clipboard, switch view to plain text mode 

    On fedora everythong works fine, on winXP I'm getting error. What is going on? Is it bug on win Qt? Is it construction of autoRelease function incorrect?

    My Qt version on winXp: Qt 4.7.3 for Desktop - MinGW 4.4 (Qt SDK)

  2. #2
    Join Date
    Dec 2010
    Location
    Veszprém, Hungary
    Posts
    34
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Repeater and itemAt undefined references

    As I remember the itemAt function for the Repeater was introduced in QtQuick1.1 which was coming with Qt 4.7.4

Similar Threads

  1. Modify c++ model data from QML Repeater
    By laszlo.gosztola in forum Qt Quick
    Replies: 7
    Last Post: 19th October 2011, 14:35
  2. undefined references to mysql
    By Ahas in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2011, 18:02
  3. Replies: 3
    Last Post: 27th October 2010, 10:09
  4. Replies: 0
    Last Post: 19th November 2009, 19:02
  5. QWebView undefined references
    By xtreme in forum Qt Programming
    Replies: 2
    Last Post: 28th July 2008, 08:08

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.