Valeria
Valeria

Reputation: 1362

QT does not update UI

I have a very weird behavior for my QML pages. It used to be ok, but has changed recently. I have main.qml which uses a component from another file (for example, component.qml). So, when I update component.qml, nothing changes if I run mail.cpp. I have to comment and then immediately uncomment the line there I am using this component in main.qml, and only then it would change. Any solution for this?

Upvotes: 1

Views: 1799

Answers (1)

Mitch
Mitch

Reputation: 24386

If you're on Windows, you're probably running into this really old, well-known bug that for some reason never gets fixed: https://bugreports.qt.io/browse/QTBUG-13334

Update: it has apparently been fixed in Qt 5.14.

Upvotes: 2

Related Questions