viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
284 stars 64 forks source link

Module "QtQuick" version 2.6 is not installed #3

Closed suhrmann closed 7 years ago

suhrmann commented 7 years ago

Now I can compile the project.

So I try to start it with ./headunit-app - but that shows this error:

$ ./headunit-app 
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:29 Type DashView unavailable
qrc:/qml/DashView.qml:51 Type RightMenu unavailable
qrc:/qml/RightMenu.qml:1 module "QtQuick" version 2.6 is not installed
...

This error occures, because the file headunit-desktop/qml_gui/qml/RightMenu.qml has

import QtQuick 2.6

instead of

import QtQuick 2.5

After changing this, the application works like a charm - and it's surprisingly awesome. Good job!

suhrmann commented 7 years ago

tl;dr Use Ubuntu 17.04 or Debian 9 with Qt 5.7 - and follow the instructions by @viktorgino See this comment

Install Qt 5.7 (the project needs the higher dependencies) and use Qt Creator (instead of building with the Terminal). You can download Qt 5.7 here: http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run