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. Qt Creator highlighting with CMake and add_compile_option preprocessor experimental

Qt Creator highlighting with CMake and add_compile_option preprocessor experimental

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 492 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.
  • Q Offline
    Q Offline
    qnope 0
    wrote on last edited by qnope 0
    #1

    Hi :).

    I am having some hjighlighting issues using Qt Creator 4.9.2.
    When I use this option into my CMakeList, the highlighting does not work at all (nor the auto completion) and I don't understand why...

            add_compile_options(/experimental:preprocessor /permissive-)
    

    Without the /experimental:preprocessor, it works perfectly well.

    After some investigation, it is from clang code model...

    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