I am using QCustomPlot in Qt Creator. I haven't specified any tooltips for my widget or anything. When I hold down my cursor on the plot without moving, an empty tooltip-like thing appears. I am wondering how to turn this off. I appreciate any hint in this matter.
Asked
Active
Viewed 711 times
3
-
Please check it carefully, it could be an empty space character. You my call `toolTip()` at runtime to see if any tool tip string has been set. – Tay2510 May 05 '15 at 07:01
-
check in the ui file whether an empty tooltip is set to the widget – Lahiru Chandima May 05 '15 at 07:02
-
2See the related question: [*A box keeps appearing under the cursor*](http://stackoverflow.com/questions/29938796/a-box-keeps-appearing-under-the-cursor), asked just few days ago. – Tay2510 May 05 '15 at 07:04
1 Answers
2
Thanks for help guys, in the MainWindow.ui file I had to remove this part of code (it was auto generated):
<property name="toolTip">
<string><html><head/><body><p><br/></p></body></html></string>
</property>

Łukasz Przeniosło
- 2,725
- 5
- 38
- 74
-
Strange...I never had this problem before when using auto-generated `QMainWindow` template. I use Qt 4.8.6 by the way. Mind share yours? – Tay2510 May 05 '15 at 08:00
-
1QMake version 3.0 Using Qt version 5.3.2 in B:/Qt/5.3/mingw482_32/lib – Łukasz Przeniosło May 05 '15 at 08:01