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 do I disable error highlighting when editing GLSL files?
Forum Updated to NodeBB v4.3 + New Features

How do I disable error highlighting when editing GLSL files?

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

    Hello.

    I have a file fragshader.frag, to declare the structures used in it, other files are used that are included in it using #include, but Qt Creator does not take into account the files included with #include, as a result, the editor says about a lot of errors that are not actually present. I want to turn off the highlighting of lines with errors.

    d0be3d09-784e-445a-9a91-2a242cdee5df-image.png

    J.HilkJ 1 Reply Last reply
    0
    • mrjbomM mrjbom

      Hello.

      I have a file fragshader.frag, to declare the structures used in it, other files are used that are included in it using #include, but Qt Creator does not take into account the files included with #include, as a result, the editor says about a lot of errors that are not actually present. I want to turn off the highlighting of lines with errors.

      d0be3d09-784e-445a-9a91-2a242cdee5df-image.png

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      hi @mrjbom

      from the documentation:

      To suppress the message for a particular file pattern, select Tools > Options > Text Editor > Generic Highlighter and add the pattern to the Ignored file patterns field.

      https://doc.qt.io/qtcreator/creator-highlighting.html#generic-highlighting

      that should do the trick, I think


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3

      • Login

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