Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.0, 5.6.0
-
None
Description
My Code:
QQmlApplicationEngine engine = new QQmlApplicationEngine(this);
Valgrind reports:
120 bytes in 1 blocks are indirectly lost in loss record 1,319 of 1,618
in XXX::init() in /.../XXX.cpp:19
1: operator new(unsigned long) in /build/valgrind-wxemGl/valgrind-3.11.0/coregrind/m_replacemalloc/vg_replace_malloc.c:333
2: QFileSelector::QFileSelector(QObject*) in .../libQt5Core.so.5.5.1
3: QQmlFileSelectorPrivate::QQmlFileSelectorPrivate() in .../libQt5Qml.so.5.5.1
4: QQmlFileSelector::QQmlFileSelector(QQmlEngine*, QObject*) in .../libQt5Qml.so.5.5.1
5: QQmlApplicationEnginePrivate::init() in .../libQt5Qml.so.5.5.1
...
I suspect qqmlapplicationengine.cpp:72 (both in 5.5. and 5.6)
72 new QQmlFileSelector(q,q);
but haven't dug deep enough into the internas of Qt to fully understand if this could make sense anyhow.