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. QtCreator ToolTip for global struct
Forum Updated to NodeBB v4.3 + New Features

QtCreator ToolTip for global struct

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 881 Views 1 Watching
  • 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
    ReinerHohn
    wrote on last edited by
    #1

    When hoovering over a global struct, only its adress is shown. Does anyone have similiar problems?
    Other IDEs like eclipse or visual studio are able to show that and that is a big acceptance problem for qtcreator in our company.

    My workaround is to use the function "watchExpression" to add the hovered expression in "slotTooltipOverrideRequested" and to use WatchHandler::watcherName to get the name in watch expression from the expression name to find a watchItem. Then I use the same code that is used to show the tooltip for local variables.

    The problem is, that therefore, all hovered expression are added to "Expressions".

    Does anyone have any suggestions to fix this annoying bug?

    1 Reply Last reply
    0
    • Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @ReinerHohn have you already filed a feature request/bug report at Qt Creator bug report system?
      In addition, you're more than welcome to contribute your change(s) to Qt Creator code in order to enhance it.
      Thank you.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      aha_1980A 1 Reply Last reply
      1
      • Pablo J. RoginaP Pablo J. Rogina

        @ReinerHohn have you already filed a feature request/bug report at Qt Creator bug report system?
        In addition, you're more than welcome to contribute your change(s) to Qt Creator code in order to enhance it.
        Thank you.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Pablo-J.-Rogina: he already has: https://bugreports.qt.io/browse/QTCREATORBUG-19574

        Qt has to stay free or it will die.

        1 Reply Last reply
        0
        • Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @aha_1980 excellent! Qt Project, a community driven effort!

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          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