SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.6k stars 1.11k forks source link

QML: anchor on item managed by layout #1037

Open zuntrax opened 6 years ago

zuntrax commented 6 years ago

WARN file:///home/zuntrax/git/sfttech/openage/assets/qml/main.qml:208:6: QML IngameHud: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.

MaanooAk commented 4 years ago

I don't get this warning but I get:

WARN file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Private/Control.qml:88:5: QML Loader: Cannot anchor to an item that isn't a parent or sibling.
WARN file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Private/BasicButton.qml:189:5: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.