def setPlaceholderTextCompat(self, value):
    if versions_increasing(QtCore.QT_VERSION_STR, '4.7.0'):
        self.setText(value)
    else:
        self.setPlaceholderText(value)
Qt pre 4.7.0 does not have setPlaceholderText
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/modules/constant_configuration.py/setPlaceholderTextCompat