Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is there a way for setting configurations?
Forum Updated to NodeBB v4.3 + New Features

Is there a way for setting configurations?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.1k Views 1 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.
  • A Offline
    A Offline
    Abin
    wrote on last edited by
    #1

    Hi,

    I'm planning to make an android application which has multi functions in the same screen.

    After building the whole application I need to show/hide some UI parts from the main screen. This I should be able to do by changing some configuration files in the .apk. The application will read the config file and decide whether to show or not a part of the main screen. Is there a way to give configuration file?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Take a look on "QSettings":http://qt-project.org/doc/qt-5/qsettings.html#details. Hope it will work for you.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Abin
        wrote on last edited by
        #3

        I know about QSettings, but I need to do the config setting before installing the application & after building is complete. Is it possible?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          I don't know, sorry.
          I thought you need a way to read a config and modify UI based on the content of the config.

          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