LVGL Include Path not retained between launches

In the project settings dialog box, if you change the default LVGL Include Path (e.g. from “lvgl/lvgl.h” to “lvgl.h”). Then apply changes and close SquareLine, the setting is gone when you relaunch SquareLine.

Version 1.4.1

This setting is saved into the .spj project-file (field “lvgl_include_path”), and is set to the string read from the project-file when you reload the saved project which contains this setting. It’s not a global SquareLine Studio setting that stays there for newly created projects, in case you expect it to work like that.

Looking in my .spj file the tag is empty for the project after changing it and saving.

"lvgl_include_path": "",

For me it matters:

  • if I open a project by doubleclicking the .spj file, I cannot select the board group and the board in the project settings and LVGL is not working
  • if I first open Squareline Studio and then open the project from the user interface, everything works well

Using Squareline Studio 1.4.2 on Windows 11.

HenkJan

If you encounter problems on MacOS with opening the .spj file as argument (which feature btw was actually created for commandline-export in the first place, not for file-associations), the projects should be opened from SquareLine Studio. Thanks for the feedback, I’ll report this to the respective team.