This happens because the generated code contains class X { ~~~~ private: friend class X; // warning here }; Says GCC13 (e.g.): tests/auto/qml/qmltc/QmltcTests/.qmltc/qmltc_test_module/inlinecomponents.h:421:18: warning: class ‘QmltcTests::inlineComponents_IC0’ is implicitly friends with itself 421 | friend class inlineComponents_IC0; | ^~~~~~~~~~~~~~~~~~~~ It seems the intended check for documentRoot doesn't work in all cases, so do the check on the class-name level. There appears to be no -W flag to control this warning, therefore no apparent way to suppress it, so we need to fix it. Amends either |
||
---|---|---|
.. | ||
qml | ||
qmlcachegen | ||
qmldom | ||
qmleasing | ||
qmlformat | ||
qmlimportscanner | ||
qmljs | ||
qmljsrootgen | ||
qmllint | ||
qmlls | ||
qmlplugindump | ||
qmlpreview | ||
qmlprofiler | ||
qmlscene | ||
qmltc | ||
qmltestrunner | ||
qmltime | ||
qmltyperegistrar | ||
CMakeLists.txt |