TechDraw: fix build for qt4

This commit is contained in:
Zheng, Lei
2020-02-03 15:48:03 +08:00
committed by WandererFan
parent 12690fb566
commit 5b3c63c9be

View File

@@ -90,6 +90,11 @@ TaskRichAnno::TaskRichAnno(TechDrawGui::ViewProviderRichAnno* annoVP) :
}
ui->setupUi(this);
#if QT_VERSION >= 0x050200
ui->teAnnoText.setPlaceholderText(QObject::tr(
"Input the annotation text directly or start the rich text editor"));
#endif
m_annoFeat = m_annoVP->getFeature();
//m_baseFeat can be null