Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to get Processor related details for ex Processor Core, Level and Arch.
Forum Update on Monday, May 27th 2025

How to get Processor related details for ex Processor Core, Level and Arch.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 905 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.
  • M Offline
    M Offline
    mdnchauhan
    wrote on 13 Dec 2017, 08:08 last edited by
    #1

    Hi Friends,
    In one of my QT application I need to get some details like (Processor Core, Processor Level and Processor Architecture).
    QSysInfo class does not provide these details, it just provide CpuArch as x86_64.

    I need to get these details in same way we can get in C++ by using SYSTEM_INFO and SYSTEM_LOGICAL_PROCESSOR_INFORMATION.

    Your suggestions are highly appreciated.

    Thanks,
    MChauhan

    1 Reply Last reply
    0
    • F Offline
      F Offline
      FloatFlower.Huang
      wrote on 13 Dec 2017, 08:21 last edited by
      #2

      Maybe you should write by your self, on Linux read /proc/cpuinfo, or call sysconf() from unistd.h, on Windows you can call Windows API to get CPU information.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 13 Dec 2017, 08:41 last edited by
        #3

        HI
        there is
        http://doc.qt.io/qt-5/qsysinfo.html#details

        but might not give you all you want :9

        1 Reply Last reply
        1

        1/3

        13 Dec 2017, 08:08

        • Login

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