Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 4.8.0
-
None
Description
Hi folks,
I want to report a bug: when I use CONFIG += qtquickcompiler in my .pro-file the import statement doesn't work respectively auto-completation fails.
My working tree looks like this:
/other -/qml --A.qml --qmldir /project -/myProject --.pro --/qml ---main.qml ---qmldir
I want to use now A.qml in main.qml with this import statement:
import "qrc:/other"
My qrc-file looks like this
<!DOCTYPE RCC> <RCC version="1.0"> <qresource prefix="/"> <file alias="qml/main.qml">main.qml</file> <file alias="other/A.qml">../../other/qml/A.qml</file> </qresource> </RCC>
If I use CONFIG += qtquickcompiler I get an "Unknown component" M300 failure but the application is working! Without CONFIG += qtquickcompiler everything is alright and auto-completion works.
Do you have any idea how to solve this issue, I think that is a bug, because the application is running correctly.
Thanks!