Results 1 to 5 of 5

Thread: programming by Qt, getting bios information

  1. #1
    Join Date
    Oct 2009
    Location
    China
    Posts
    20
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Question programming by Qt, getting bios information

    I want to get cpu's temprature,and the laptop's energe,and so on.
    Anybody can give me some advices?
    Thank you!

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: programming by Qt, getting bios information

    It depends on the processor and temperature sensors installed on your PC. You need to access the system management interface, and this interface can change based on motherboard, chipset, processor... It's not common.

    A typical temperature sensor is the W83667HG.

  3. The following user says thank you to squidge for this useful post:

    ensky_cy (15th December 2009)

  4. #3
    Join Date
    Oct 2009
    Location
    China
    Posts
    20
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Talking Re: programming by Qt, getting bios information

    Quote Originally Posted by fatjuicymole View Post
    It depends on the processor and temperature sensors installed on your PC. You need to access the system management interface, and this interface can change based on motherboard, chipset, processor... It's not common.

    A typical temperature sensor is the W83667HG.
    Ok,thank you!I download some softwares,installing in my notebook,they can tell me the energe of my notebook,and the memory usage ...,so ,I want to implement these functions.May be I need C or assembler language.....

  5. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: programming by Qt, getting bios information

    C is fine, but it's going to be very system specific.

  6. The following user says thank you to squidge for this useful post:

    ensky_cy (17th December 2009)

  7. #5
    Join Date
    Sep 2009
    Location
    Tashkent, Uzbekistan
    Posts
    107
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: programming by Qt, getting bios information

    Ok. First thing is to define on which OS you want to do it. Anyway there is nothing you can do with that on Qt but on C/C++ - yes. For Linux I can suggest you libsmbios, where you can find a C++ binding as well. But it is low level programing highly dependent on OS and underlying hardware.

    Good luck,
    -- tanuki

  8. The following user says thank you to Tanuki-no Torigava for this useful post:

    ensky_cy (17th December 2009)

Similar Threads

  1. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  2. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  3. Using QGraphicsView with model/view programming
    By JLP in forum Qt Programming
    Replies: 3
    Last Post: 29th January 2007, 11:04

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.