CANdevStudio icon indicating copy to clipboard operation
CANdevStudio copied to clipboard

Not able to use QML-Executor block

Open vardhmanpatil opened this issue 2 years ago • 4 comments

Hi ,

Step 1] I am able to load .dbc file under CanSignaldata and using CanSignalSender sending messages and same observed on virtual bus till it is working fine. (Using standalone version)

Step 2] ]Next step is I need to use QML executor block. I just take QML executor block and triying to load .qml file but its not working .

I don't know how to use it pls share any suggestion/guidance/ or any helpful design document dam stuck here

Pls find below Image that I did sample project.. https://user-images.githubusercontent.com/122876509/212884486-71a91aac-64f5-4c80-b520-f62f8e1ebcaa.png

Note -: This is not an issue this is query I have raised under this tab.

vardhmanpatil avatar Jan 17 '23 11:01 vardhmanpatil

Hi @vardhmanpatil. Have you tried to load sample qmls? https://github.com/GENIVI/CANdevStudio/tree/master/src/components/qmlexecutor/examples

What Qt version and system are you using?

rkollataj avatar Jan 17 '23 13:01 rkollataj

Hi , Qt Creator 9.0.1 ( commuinity) version I used. Yes. I tried to to load sample .qml file mentioned in above link. I am facing below isssues.

https://user-images.githubusercontent.com/122876509/213087746-8ce92323-026f-4428-af94-1de316696b9f.png

vardhmanpatil avatar Jan 18 '23 04:01 vardhmanpatil

I just unpacked the standalone version CANdevStudio-1.2.2-Windows-standalone.7z and get similar error messages (with directory paths matching the location of the file sample.qml on my PC).

I did not install anything related to Qt.

OS is Edition Windows 10 Enterprise Version 22H2 Installed on ‎04.‎12.‎2023 OS build 19045.3803 Experience Windows Feature Experience Pack 1000.19053.1000.0

According to https://stackoverflow.com/questions/35195687/proper-way-to-deploy-qml-applications-on-windows and https://doc.qt.io/qt-5/windows-deployment.html there is a tool windeployqt with a --qmldir argument which would scan QML files inside the directory for QML import dependencies and copy identified dependencies to the executable's directory.

If this tool is used for creating the Windows standalone package, it might be necessary to add a sample QML file which imports all dependencies that might ever be needed by a QMLExecutor block.

bomm avatar Jan 09 '24 17:01 bomm