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. Could you fully document qDetectCpuFeatures and qCpuHasFeature?
Forum Updated to NodeBB v4.3 + New Features

Could you fully document qDetectCpuFeatures and qCpuHasFeature?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.5k 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.
  • G Offline
    G Offline
    GatoRat
    wrote on last edited by
    #1

    I am porting code which will use SSE42 if there else a C++ equivalent (which is much slower.) It would be very useful to be able to leverage your qDetectCpuFeatures functionality rather than have to write my own.

    (fortunately nmmintrin.h seems to be available in VC++, CLang and gcc.)

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      I believe those are internal functions. Unlike official public API, internal API isn't documented and doesn't guarantee of source compatibility or binary compatibility across Qt versions.

      You can request for those functions to be made public at https://bugreports.qt-project.org/ (this forum is for discussing how to use Qt; feature requests will probably fade into obscurity here)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

        No need to be condescending; I fully understand that it is internal, hence my request to make the API public.

        As for your second point, thank you.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Sorry, it wasn't my intention to be condescending. I wrote my first paragraph because I understood your request as "please write documentation on how these functions should be used" rather than "please make these functions public".

          You're welcome. Please post a link to your request back here, so that others who're interested can follow it.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GatoRat
            wrote on last edited by
            #5

            I posted a suggestion on JIRA as suggested by JKSH. The link is: "https://bugreports.qt-project.org/browse/QTBUG-33519":https://bugreports.qt-project.org/browse/QTBUG-33519

            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