Re: Newbie Trying to Create a Menu ToolTip, but setToolTip() Doesn't Seem to Work
Originally Posted by wysota
How does "doesn't seem to work" manifest itself?
It manifests itself because when I hover mouse over the menu item, nothing shows up.
Originally Posted by chris.kzn
Hello sinefine,
What I think your problem might be is that although your file "exit24.png" might be located in the folder that the source code is in, when you run the program in "Debug" or "Release" mode, your file does not exist in the folder that it is being compiled to. You need to use a Qt Resource file, add this file into the Qt Resource file and then make reference to the path of the Qt Resource file.
Re: Newbie Trying to Create a Menu ToolTip, but setToolTip() Doesn't Seem to Work
Originally Posted by sinefine
It manifests itself because when I hover mouse over the menu item, nothing shows up.
Do they show up when you hover your mouse over menu entries in other programs? I don't think tooltips are used in menu entries anywhere. You would probably have to implement such behavior yourself.
Your biological and technological distinctiveness will be added to our own. Resistance is futile.
Please ask Qt related questions on the forum and not using private messages or visitor messages.
Re: Newbie Trying to Create a Menu ToolTip, but setToolTip() Doesn't Seem to Work
Originally Posted by wysota
Do they show up when you hover your mouse over menu entries in other programs? I don't think tooltips are used in menu entries anywhere. You would probably have to implement such behavior yourself.
Bookmarks