Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dependency Injection options using Qt and QML
QtWS25 Last Chance

Dependency Injection options using Qt and QML

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.1k 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.
  • B Offline
    B Offline
    Buttink
    wrote on last edited by
    #1

    I have been looking for good dependency injection options for Qt and QML. Right now, I made all my dependencies QObjects and put them inside of my QML. But this gets tedious fast, and I don't want a change in QML to break the application. I feel like QML should try to be only UI concerns. So has anyone used something like 'injeqt' or 'wallaroo' with Qt and QML? Does it work out well? I know I cannot do constructor injection which is a tad bit frustrating but understandable, but I feel like there should be something we can do to make this a tad be easier.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rmalinowski
      wrote on last edited by
      #2

      Hello. I'm author of Injeqt. I'll be happy to help. Would you mind contacting with me on e-mail (vogel@kadu.im) to check what you need and if Injeqt is suitable for you?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Buttink
        wrote on last edited by
        #3

        Hey, I would love to contact you via e-mail as soon as I get a chance. I really would like to reduce all my crazy glue qml code and I think these tools really could help, but I can't just derail a project to prove it lol. Plus, what if it didn't work. Anyway I will contact you ASAP. Thank you.

        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