0

I'm working on a custom build of QGroundcontrol; I've tried to import an existing module (QtQuick.shapes 1.12) to CustomFlyViewVideo.qml. The code builds normally, but when I try to run it I get these errors:

qrc:/qml/MainRootWindow.qml:469 Type FlyView unavailable

qrc:/qml/QGroundControl/FlightDisplay/FlyView.qml:147 Type FlyViewVideo unavailable

qrc:/qml/QGroundControl/FlightDisplay/FlyViewVideo.qml:23 module "QtQuick.Shapes" is not installed
eyllanesc
  • 235,170
  • 19
  • 170
  • 241
  • Qt Quick Shapes were added in Qt 5.10. Which Qt version are you using? – Mitch Sep 13 '20 at 15:19
  • Hey, I'm using 5.12.6 Thanks for answering – sunflower Sep 13 '20 at 20:01
  • You can run the application with `QML_IMPORT_TRACE` set to `1` and then make sure that you see a directory in the list of import paths from that output that contains a QtQuick/Shapes directory. – Mitch Sep 13 '20 at 21:18

0 Answers0