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. System information
Forum Updated to NodeBB v4.3 + New Features

System information

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.0k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    BibekKumar
    wrote on last edited by
    #1

    how to know whether user's system is win 7 32 bits or 64 bits ..

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      I don't think there is a Qt-ish way of determining this information at runtime, but you might use native code instead, like "GetNativeSystemInfo()":http://goo.gl/lR0f4.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Genone
        wrote on last edited by
        #3

        Do you want to know what the OS edition is (if so, do you just care about Windows?), or wether your program is running in 32/64 bit mode?
        Second is easy using QSysInfo::WordSize, for the former you need OS-specific code (uname, Get[Native]SystemInfo, ...)

        1 Reply Last reply
        0

        • Login

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