Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to configure Visual Studio to recognize Qt source?
Forum Updated to NodeBB v4.3 + New Features

How to configure Visual Studio to recognize Qt source?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 160 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.
  • R Offline
    R Offline
    Rua3n
    wrote on last edited by
    #1

    How i could configure Visual Studio 2022 to stop threatening the files of the Qt source as "Miscellaneous Files"?

    The color scheme is not working, only few things are getting colored.

    Example:

    devenv_CKmGcO4I9V.png

    Following MSFT documentation Configure a C++ project for IntelliSense i tried adding the source path to the project settings as:

    devenv_qY0ji65sA9.png

    But it still not coloring things correctly.

    I also tried deleting the .vs folder, the project files on x64/temp folders, recompile, restart.

    If i drag the qheaderview.cpp file into the Solution Explorer then the color schema start working but it spams a lot of errors everywhere.

    I dont understand why, but this issue only happen with .cpp files, all .h files relative to the Qt source are not threated as "Miscellaneous Files" when open on VS.

    I'm trying just to get Intellisense to set the colors properly and not to it detect code syntax or debug values.

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on

    • Login

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