file or directory not found for “UIConstants.js”
Pregunta
In Hamattan Application Project in Qt Creator. when I'm trying to import:
import "UIConstants.js" as UIConstants
I always get file or directory not found error after building. It tried to copy the file into my project, the same error pops out.
What could have gone wrong? Please Help, Thank you.
Solución
It's either of these two:
- forgot to add it in res.qrc
- it was located at a different directory(but is included in the project)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow