cool-retro-term
cool-retro-term copied to clipboard
QQmlApplicationEngine failed to load component
Hi
Running CM3, followed Debian instructions but received message:
"qrc:/main.qml:22 module "QtQuick.controls" version 2.3 is not installed
Cannot load QML interface"
Possible newbie question but pls help
Same issue here, compiling on Raspberry Pi 3 with up to date Raspi OS (Buster)
Same here:
$ git clone --recursive https://github.com/Swordfish90/cool-retro-term
...
$ cd cool-retro-term && qmake && make
...
$ ./cool-retro-term
QQmlApplicationEngine failed to load component
qrc:/main.qml:133:5: Type TerminalContainer unavailable
qrc:/TerminalContainer.qml:48:5: Type PreprocessedTerminal unavailable
qrc:/PreprocessedTerminal.qml:98:9: Cannot assign to non-existent property "blinkingCursor"
Cannot load QML interface
archlinux x64, Qt 5.15.2
This last one is not the same issue. This looks more like the terminal widget subproject has not been compiled.
In any event I was able to solve this problem on Ubuntu 20 in the following fashion, and it would probably also apply to Debian on the Pi:
First, edit the import statements in the qml\main.qml file to specify the version of QtQuick actually installed, which is different from the version in the package name. Secondly I had to search apt for the package name of the QtQuick library (sudo apt search qtquick) plus another Qt library or three that seem to have been broken out from the dependencies currently listed in the readme. Eventually that got it running.
I have the exact same issue as @ryholland . I am not sure where to locate the qml\main.qml file and what which import statements to edit @andrewsil1 . Any help would be appreciated!
I’ll try to find some time to document the specifics here if I can.
I have installed this package and solved this issue.
sudo apt install qml-module-qtquick-controls2
But there is another error:
QQmlApplicationEngine failed to load component
qrc:/main.qml:133 Type TerminalContainer unavailable
qrc:/TerminalContainer.qml:48 Type PreprocessedTerminal unavailable
qrc:/PreprocessedTerminal.qml:24 module "QMLTermWidget" is not installed
Okay, it's #592 , it works now :)
Thank you so much @wangxin-n ! It works great now!!
Python 3.7.5, 3.8.5 from Python.org work fine. I would recommend against using the ones provided by the Microsoft Store.