November 17, 2011

stima_ua stima_ua
Lab Rat
65 posts

QSettings dont see all keys

 

In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Help QSettings dont see this key:
nwind9.cnt
nwind9.hlp
nwindcs9.cnt

  1.     QString path = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\Help"
  2.     QSettings parent(path, QSettings::NativeFormat);
  3.     QStringList keys =  parent.allKeys();
  4.    
  5.     qDebug() << keys;

why?

3 replies

November 17, 2011

BilbonSacquet BilbonSacquet
Lab Rat
75 posts

I use Qt 4.6.3 and I get:

(“CHTAPT.HLP”, “CHTAPTEN.HLP”, “EQNEDT32.cnt”, “EQNEDT32.hlp”, “IMEPADEN.HLP”, “IMJPCL.HLP”, “IMJPCLE.HLP”, “IMJPSM.HLP”, “IMJPSME.HLP”, “PINTLPAD.HLP”, “PINTLPAE.HLP”, “en.hlp”, “imkr61.hlp”, “imkren61.hlp”, “nwind9.cnt”, “nwind9.hlp”, “nwindcs9.cnt”, “nwindcs9.hlp”, “sfu_cs.hlp”)

Like you see they are here! :)

November 17, 2011

stima_ua stima_ua
Lab Rat
65 posts

h.m.. i use 4.7.4

can you post your code, m.b I’m doing something wrong
and can you post the value of this keys

November 17, 2011

BilbonSacquet BilbonSacquet
Lab Rat
75 posts

I’m using your code with just an extra ‘;’ at the first line :P

 
  ‹‹ forbid leaving a QLineEdit      [Solved]Opening a New Form with new Widgets. ››

You must log in to post a reply. Not a member yet? Register here!