Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. My shoulders hurt.

My shoulders hurt.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
qml
3 Indlæg 2 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • anderslund@expressional.socialA This user is from outside of this forum
    anderslund@expressional.socialA This user is from outside of this forum
    anderslund@expressional.social
    wrote sidst redigeret af
    #1

    My shoulders hurt.

    #qml #qt

    tsdgeos@fosstodon.orgT 1 Reply Last reply
    0
    • anderslund@expressional.socialA anderslund@expressional.social

      My shoulders hurt.

      #qml #qt

      tsdgeos@fosstodon.orgT This user is from outside of this forum
      tsdgeos@fosstodon.orgT This user is from outside of this forum
      tsdgeos@fosstodon.org
      wrote sidst redigeret af
      #2

      @anderslund I mean you are using = in QML, so seems mostly "a you are doing it wrong" problem and not a QML problem. Of course if you don't share the rest of the code it's hard to evaluate what's going on.

      anderslund@expressional.socialA 1 Reply Last reply
      0
      • tsdgeos@fosstodon.orgT tsdgeos@fosstodon.org

        @anderslund I mean you are using = in QML, so seems mostly "a you are doing it wrong" problem and not a QML problem. Of course if you don't share the rest of the code it's hard to evaluate what's going on.

        anderslund@expressional.socialA This user is from outside of this forum
        anderslund@expressional.socialA This user is from outside of this forum
        anderslund@expressional.social
        wrote sidst redigeret af
        #3

        @tsdgeos
        Thanks. This was some event handler (onTriggered), and there was another reference to the same object in the line above that worked.

        It is a function, so javascript - = tends to work in such cases.

        In the meantime I changed some things, and got it working, but I do sometimes run into issues like that. In this case there was no warning or hint, so I used a function to access the object, and it worked.

        I believe it had to do with me using a stringlist as model, and using a proper ListModel made it go away 🙂

        1 Reply Last reply
        0
        Svar
        • Svar som emne
        Login for at svare
        • Ældste til nyeste
        • Nyeste til ældste
        • Most Votes


        • Log ind

        • Login or register to search.
        Powered by NodeBB Contributors
        Graciously hosted by data.coop
        • First post
          Last post
        0
        • Hjem
        • Seneste
        • Etiketter
        • Populære
        • Verden
        • Bruger
        • Grupper