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. My app don't show tooltips
Forum Update on Monday, May 27th 2025

My app don't show tooltips

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 790 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.
  • BlasterB Offline
    BlasterB Offline
    Blaster
    wrote on last edited by
    #1

    Hello people... I have a problem with my app, that is that the tooltips does not show... can you help me..
    This is the code:

    QAction *action = new QAction;
    action->setText("Example");
    action->setToolTip("Example");
    contextMenu->addAction(action);
    
    1 Reply Last reply
    0
    • C Offline
      C Offline
      Carmoneer
      wrote on last edited by
      #2

      This may help:
      Qt Thread: [Solved] setToolTip in QAction menu

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        This also seems relevant
        https://forum.qt.io/topic/78790/tooltips-are-not-visible-while-hovering-over-menu-items/12

        1 Reply Last reply
        1
        • BlasterB Offline
          BlasterB Offline
          Blaster
          wrote on last edited by
          #4

          Thanks all... I have solved allready... I just needed one line of code:

          contextMenu->setToolTipsVisible(true);
          
          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