Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QQmlApplicationEngine failed to load component #197

Open
alain-rs opened this issue Feb 23, 2022 · 1 comment
Open

QQmlApplicationEngine failed to load component #197

alain-rs opened this issue Feb 23, 2022 · 1 comment
Assignees

Comments

@alain-rs
Copy link
Contributor

I have this runtime issue:

~/FOEDAG$ ./build/bin/foedag --qml
QQmlApplicationEngine failed to load component
qrc:/mainWindow.qml:4:1: module "Qt.labs.platform" is not installed

We need to have a compile time cmake error if a QML component is missing.

@alain-rs
Copy link
Contributor Author

Update dependency list, INSTALL instructions, checkin CMakeLists that the component is installed and error out if it's not:
sudo apt install qml-module-qt-labs-platform

shivaahir1508 pushed a commit that referenced this issue Jun 15, 2023
Co-authored-by: Alain Dargelas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants