Results 1 to 3 of 3

Thread: QSettings Inside QWebView?

  1. #1
    Join Date
    Feb 2010
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Question QSettings Inside QWebView?

    I've been searching around (including here on the forums) but I can't seem to find any help with this issue...

    Is it possible to access (as in read and write) settings inside QSettings from a QWebView? I have a couple QSettings for my app that I would like to access from an HTML file inside my QWebView (with JavaScript I would assume). I would even settle for the ability to merely read them and not write them.

    If someone has a simple example I'd greatly appreciate it.

  2. #2
    Join Date
    Feb 2010
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QSettings Inside QWebView?

    Anyone have any ideas?

  3. #3
    Join Date
    Feb 2010
    Posts
    96
    Thanks
    4
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSettings Inside QWebView?

    Why don't you put the settings in an xml file and just scrape the file for your settings? I think you could make life easier if you found a better place to embed your settings.

Similar Threads

  1. Value from QSettings
    By wirasto in forum Newbie
    Replies: 7
    Last Post: 14th January 2010, 18:52
  2. QSettings.
    By afflictedd2 in forum Qt Programming
    Replies: 1
    Last Post: 5th April 2009, 19:14
  3. Migrate Qt3 QSettings to Qt4 QSettings
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2008, 03:21
  4. Qsettings
    By jrideout in forum Qt Programming
    Replies: 11
    Last Post: 29th June 2006, 19:21
  5. QSettings
    By incapacitant in forum Newbie
    Replies: 13
    Last Post: 25th May 2006, 11:08

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.