Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Dynamic Created Component
Qt 6.11 is out! See what's new in the release blog

Dynamic Created Component

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 883 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    narayanan.krish
    wrote on last edited by
    #1

    Hello all!
    I am dynamically creating a page uisng createComponent. I like to set a variable/index in the newly created component.
    I tried to implement it using javascipt. But the value is not getting assigned.
    Kindly help to fix it.

    Thanks & Regards,
    Narayanan

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Can you show what you have tried ?
      Have a look at "this":http://qt-project.org/doc/qt-4.8/qml-qt.html#createComponent-method.

      157

      1 Reply Last reply
      0
      • N Offline
        N Offline
        narayanan.krish
        wrote on last edited by
        #3

        Thanks a lot.
        This is what I was looking for.

        Thanks & Regards,
        Narayanan

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved