Results 1 to 7 of 7

Thread: QSettings windows registry reading fails on certain keys

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2012
    Posts
    37
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default Re: QSettings windows registry reading fails on certain keys

    Thanks for the idea. I've tried this with SerialPortInfo::availablePorts(), but the port I need doesn't really "exist" as a serial port (it is some kind of virtual comm device). So unfortunately this won't work for me.

  2. #2
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2
    Thanked 43 Times in 42 Posts

    Default Re: QSettings windows registry reading fails on certain keys

    Your virtual device is present into Device Manager?

  3. #3
    Join Date
    May 2012
    Posts
    37
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default Re: QSettings windows registry reading fails on certain keys

    No it isn't listed there.

    Edit: to be fair, I'm not sure why that would be relevant. What if I wanted to read a completely different key starting with a "/"?
    Last edited by Kwakkie; 17th December 2012 at 12:01.

  4. #4
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2
    Thanked 43 Times in 42 Posts

    Default Re: QSettings windows registry reading fails on certain keys

    No it isn't listed there.
    Then yes, you need to read the registry. Instead QSettings, try WinAPI I think it will be easier.

Similar Threads

  1. Replies: 4
    Last Post: 27th October 2011, 16:57
  2. QSettings and Windows registry - removing a key
    By lxman in forum Qt Programming
    Replies: 1
    Last Post: 29th July 2011, 21:43
  3. Replies: 1
    Last Post: 24th June 2011, 12:11
  4. reading windows registry
    By bhogasena in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2009, 10:36
  5. Replies: 1
    Last Post: 19th September 2008, 16:43

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
  •  
Qt is a trademark of The Qt Company.