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. Using BOA/CGI to pass parameter to Apps via QSetting?
Forum Update on Monday, May 27th 2025

Using BOA/CGI to pass parameter to Apps via QSetting?

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 2.5k 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
    sebastien
    wrote on 5 May 2011, 04:56 last edited by
    #1

    Hi there,

    Not sure this is the right place for my quest, so please redirect me if you know which forum I should go to:

    I currently have a small development platform (mini2440) with linux and Qt on it.
    I am now able to do some basic Qt programmation and so wrote a little program with UI interface to blink LEDs.

    Now I would like to also control the LEDs/GPIO via the web. For this I have BOA already installed on the platform and learned that some CGI scripts could easily be run via a web page to open/write date to a file.

    My program use QSetting to save GPIO state in case of reboot. As you know, this save the data in a file.
    I am thinking of using some handshaking function between the CGI script and Qt to modify the file QSetting uses to
    restore data so it could be changed via internet.

    Not sure this is the right solution to my problem, although it seems feasible...

    So here is the questions:
    1.What is the Correct way to do this: An external edit of the file QSetting is using to restore data(Seems fishy but doable).
    2.What is the easiest solution for a beginner (it took me about 3 week to install linux/Qt on my device so I am a bit reluctant to start over and re-re-re-re-compile to add something else that BOA server...)

    In Advance Thanks!! Sebastien.

    1 Reply Last reply
    0

    1/1

    5 May 2011, 04:56

    • Login

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