Page MenuHomePhabricator

QLineEdit setPlaceholderText in generated ui file
Closed, InvalidPublic

Description

error: 'class QLineEdit' has no member named 'setPlaceholderText'

In Qt Creator v. 2.2.0, when a QLineEdit object is added, the generated UI file contains setPlaceholderText. This is a new function (apparently) and creates errors with older versions of Qt.
My "solution" was to simply delete the object since it wasn't necessary for my module. Obviously, a more helpful fix is needed.

Event Timeline

You should configure your QtCreator to use the "right" version of Qt (Extras->Settings->Qt4) and you should ne fine. :)

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:32 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:37 PM
kislinsk removed a project: Bulk Edit.