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. QML Settings not saved when using window close button
Forum Update on Monday, May 27th 2025

QML Settings not saved when using window close button

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 208 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.
  • S Offline
    S Offline
    solarisx
    wrote on last edited by solarisx
    #1

    Hi

    I use Qt.labs.settings 1.1 (QT 5.13.2) in my QML app. They work fine if I close the app by calling Qt.quit() in qml. If I close the app by clicking the "window close button" on the Windows window frame, the settings are not saved. Is this because of the window frame is in c++?
    How to fix this?

    Greets

    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