Problem with generating ui_*.h
Qt 5.10 on Windows with VS 2015.
ui_*.h have empty tool tips, status tips and whats this tip for QCheckBox.
Code:
#ifndef QT_NO_TOOLTIP
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_STATUSTIP
m_checkBox
->setStatusTip
(QString());
#endif // QT_NO_STATUSTIP
#ifndef QT_NO_WHATSTHIS
m_checkBox
->setWhatsThis
(QString());
#endif // QT_NO_WHATSTHIS
In UI file is :
Code:
<widget class="QCheckBox" name="m_checkBox">
<property name="toolTip">
<string extracomment="Ala ma kota"/>
</property>
<property name="statusTip">
<string extracomment="Ala ma kota"/>
</property>
<property name="whatsThis">
<string extracomment="Ala ma kota"/>
</property>
<property name="text">
<string>Bla bla bla....</string>
</property>
</widget>
With Qt 4.8 generated ui_*.h files is OK. Whether it is a mistake or intended behavior ?
Re: Problem with generating ui_*.h
The XML has empty <string> elements for the content of the three tips.
The tip text is the character data between the opening and the closing <string> tag
Code:
<property name="toolTip">
<string extracomment="Ala ma kota">Tool Tip Text Here</string>
</property>
Re: Problem with generating ui_*.h
Thanks anda_skoa. I think I have to go to an ophthalmologist ;)
Re: Problem with generating ui_*.h