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. Embedded properties within string

Embedded properties within string

Scheduled Pinned Locked Moved Solved QML and Qt Quick
stringpropertiesbash
3 Posts 2 Posters 356 Views
  • 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.
  • magrifM Offline
    magrifM Offline
    magrif
    wrote on last edited by
    #1

    I have saw bash-style syntax of embedding parameters in string as:

    property string st1: "Foo"
    property string st2: `${st1}/Bar`
    

    and it works. In st2 will "FooBar" value. Where can I read more about the syntax?

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      Read more Java Script. QML works with Java Script. WIthout Qt, you can make GUI with JS as well.

      1 Reply Last reply
      1
      • magrifM Offline
        magrifM Offline
        magrif
        wrote on last edited by
        #3

        Thanks, I found examples for JS here.

        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