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. Remove function for QML Settings

Remove function for QML Settings

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 182 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.
  • T Offline
    T Offline
    teabag
    wrote on last edited by teabag
    #1

    Hi, I'm using QML with Python for an app and I have some objects that I'm creating dynamically using an Instantiator, and saving their parameters to an ini file using the Settings QML type from QtCore (not the Qt.labs.settings). Whenever I delete the objects I want to remove the associated settings (i.e. completely delete the keys, not just set the values to blank), but I can't seem to do it, and it's causing issues such as the settings for other objects being overwritten, because I'm using the indices to identify each object in the settings file. Is there a way to remove the settings from QML, without resorting to having to do it from Python?

    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