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. Function font & colors issue
Forum Updated to NodeBB v4.3 + New Features

Function font & colors issue

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

    Hello everyone,

    I am experiencing a very annoying issue related to function-name colour.

    I have set a new color for function in Font & Colors tab, but when I use a struct defined by me as input, Qt doesn't recognize it as a function, thus leaving the function name color as simple text.
    Here is a brief example:
    Let's say you define a new type:
    typedef struct{
    float x;
    float y;
    } Coordinates;
    If I want to declare a function in my header like:
    float multiply(Coordinates coord);
    this will appear as simple text, and not coloured as functions should be.
    This doesn't happen if I use as iput function standard variable type!

    Suggestions on how to fix this?
    Thanks to everyone!

    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