I
I
Ilya Grebenkov2017-01-05 10:08:39
Qt
Ilya Grebenkov, 2017-01-05 10:08:39

Why does Qt creator throw an error?

Hey! Why does Qt creator swear at these lines:

import Material 0.2
import Material.ListItems 0.1 as ListItem

From this project:
https://github.com/papyros/qml-material
In the video, everything works with a bang, but I constantly have errors due to which I cannot compile the
PS project, the same errors in this project: https://github.com/liri-project/liri-browser

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jacob E, 2017-01-05
@ilyavii

You probably do not have enough qml-material library on your computer.
But today I would not recommend using it, because Qt Quck Controls 2 already has a built-in Material style and a bunch of cool controls for mobile devices.

R
res2001, 2017-01-05
@res2001

Maybe because you are trying to feed Python code to the C++ compiler?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question