Comment 1 for bug 1215913

Revision history for this message
ybon (yohanboniface) wrote :

I've created a project with the "QML Extenstion Library + Tabbed UI" template, then I've followed the step by step described above, but I'm still unable to run the project.
If I try to run the project (click on green arrow or Ctrl-R) from QtCreator, I see no sign of activity and no output on the console.
When I look at the {buildDir}, I can see that the project has been built.
If I try to run from the Terminal with command qmlscene -I backend/modules/ app/testcompiled1.qml, here is what I get:

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
file:///home/ybon/Code/qt/testcompiled1-build/app/testcompiled1.qml:30 Type HelloTab unavailable
file:///home/ybon/Code/qt/testcompiled1-build/app/ui/HelloTab.qml:3 module "testcompiled1" is not installed

When looking at the {buildDir} I can see no backend/modules folder, and the .so file is located in backend/testcompiled1/.

Then, if I change the import path to "backend/", I got it to work (qmlscene opens): qmlscene -I backend/ app/testcompiled1.qml though it still doesn't when ran from QtCreator.

I'm missing C++ ecosystem and conventions knowledge to be able to know what is the good fix, but I thought it was useful to mention it here.