Now the code finds component, but at runtime the file cannot be found:
Starting D:\xxxxx\xxxxx\Software\fsaInteractor\bin\x86\debu g\debug\fsaInteractor.exe...
QML debugging is enabled. Only use this in a safe environment.
QQmlApplicationEngine failed to load component
qrc:/FsaQmlMain:36 Type FsaComponents.FsaMenuItem unavailable
qrc:/components/FsaMenuItem.qml:-1 File not found
Here is qml.qrc file listing:
<RCC>
<qresource lang="English" prefix="/">
<file alias="FsaQmlMain">main.qml</file>
</qresource>
<qresource lang="English" prefix="/components">
<file alias="FsaQmlMenuItem">components/FsaMenuItem.qml</file>
</qresource>
</RCC>
<RCC>
<qresource lang="English" prefix="/">
<file alias="FsaQmlMain">main.qml</file>
</qresource>
<qresource lang="English" prefix="/components">
<file alias="FsaQmlMenuItem">components/FsaMenuItem.qml</file>
</qresource>
</RCC>
To copy to clipboard, switch view to plain text mode
and here is directory listing:
dirStructure.jpg
Why the file is not being found?
Sincerely,
Marko
Bookmarks