Skip to main content
RReta.1
Associate II
June 2, 2021
Question

consistent camelCase usage

  • June 2, 2021
  • 2 replies
  • 607 views

Repro steps (using TouchGFX Designer 4.16.1):

  • Create a custom container class with a solid box background, named `background`
  • Renamed a custom container class from `background` to `Background`
  • This results in gui_generated base files of `backgroundBase.[hpp/cpp]` (incorrectly done using camelCase)
  • however, inside `backgroundBase.cpp`, it has this line:
#include <gui_generated/containers/BackgroundBase.hpp>
  • This breaks compiling in our case-sensitive environment.

I realize TouchGFX Designer is windows-OS centric and that is case-insensitive, but the code it generates is often used in case-sensitive environments.

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
June 3, 2021

Hi,

I am a bit confused by this as the generated file names are properly updated in my case, or maybe I do not understand properly the steps you shared. Could you share a project where you face this ?

/Romain

RReta.1
RReta.1Author
Associate II
June 3, 2021

Hi,

Of course, here are the project files.