79250403

Date: 2024-12-04 08:45:57
Score: 1
Natty:
Report link

I see you are using QT 6.8.0. In that case add:

qt_policy(SET QTP0004 NEW)

to your CMakelists.txt file, inbetween "qt_add_executable" and "qt _add_qml_module" sections. That should solve the warnings. (https://doc.qt.io/qt-6/qt-cmake-policy-qtp0004.html)

As for the Color.qml import. You might try adding it as a module instead of a relative path.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tedjuh