Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Intel MKL and Qt in Visual C++ 2017 - feature-test macro must be a simple identifier error
Forum Updated to NodeBB v4.3 + New Features

Intel MKL and Qt in Visual C++ 2017 - feature-test macro must be a simple identifier error

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
1 Posts 1 Posters 561 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.
  • J Offline
    J Offline
    J Palmer
    wrote on 22 Apr 2020, 11:59 last edited by J Palmer
    #1

    Hi,
    I'm trying to use Qt integration with Visual C++ 2017. When I enable "Use MKL" in Intel Performance Libraries configuration, and try to build with Qt integration / Qt libraries, I get the error:

    "the argument to a feature-test macro must be a simple identifier"

    in the file qcompilerdetection.h. I found a threat from 2018 which claimed that replacing qalgorithms.h would solve the problem. But they don't say what to replace it with. I tried modifying qalgorithms.h and qcompilerdetection.h to get them to recompile if they were out of date, as the thread seemed to suggest, but this did not work.

    I was actually able to use MKL and Qt in MS VC++ 2017 before without this error. But now trying to install on a new machine with MKL 2020 update 1, and Qt 5.13.2 (MSVC 2017, 32 bit), I am suddenly getting this error for some reason.

    Maybe this is a version incompatibility issue, but I assume that newer versions of Qt would not recreate a problem that was previously solved.

    Has anyone run into this problem with latest versions of VC 2017 and Qt?

    Thanks,
    Jason

    1 Reply Last reply
    0

    1/1

    22 Apr 2020, 11:59

    • Login

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