Results 1 to 2 of 2

Thread: javascript loop not working in qml project

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    33
    Qt products
    Qt4
    Platforms
    Windows

    Default javascript loop not working in qml project

    javascript loop not working.it only satisfies only last value of "i" in the loop (eg:for(var i=0;i<6;i++)).it gives the value of the statement when i incremented to 6 only. can you help in this?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: javascript loop not working in qml project

    What's the body of the loop? How do you know it is not working?
    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.


Similar Threads

  1. Replies: 4
    Last Post: 6th August 2011, 01:40
  2. Main loop thread loop communication
    By mcsahin in forum Qt Programming
    Replies: 7
    Last Post: 25th January 2011, 16:31
  3. Replies: 9
    Last Post: 29th November 2010, 12:12
  4. JavaScript for loop won't work
    By Asperamanca in forum Qt Quick
    Replies: 2
    Last Post: 15th October 2010, 21:23
  5. Qt Creator Breakpoings in my shared library project not working
    By Lendrick in forum Qt Tools
    Replies: 1
    Last Post: 26th September 2010, 18:31

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.