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. Using QML Settings (Qt.labs.settings) properties into Qt C++ file
Forum Updated to NodeBB v4.3 + New Features

Using QML Settings (Qt.labs.settings) properties into Qt C++ file

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 790 Views 2 Watching
  • 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.
  • R Offline
    R Offline
    RiteshPanchal
    wrote on 16 Dec 2016, 10:20 last edited by A Former User
    #1

    I am using Qt 5.5.1 in ubuntu.
    I am working in Qt Quick Application Project. In this project there are several QML files.
    I am using import Qt.labs.settings 1.0 in all qml files to save some GUi Parameters. Now i am having several .cpp files other than main.cpp.

    So how can i get all QML files setting properties in a single .cpp file?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Dec 2016, 22:42 last edited by
      #2

      Hi,

      You can use QSettings to read the information you want back.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      16 Dec 2016, 22:42

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved