Skip to main content
Epamuk
Associate III
October 23, 2019
Solved

Merging two touchgfx project

  • October 23, 2019
  • 4 replies
  • 1409 views

Hello,

We have a touchgfx project. I design main screens and write board specific codes to project. My colleauge design some other screens for same project .

Is there any way to import his screens to my touchgfx project (with protecting my screens) ?

I use import GUI function from touchgfx IDE but it deletes my screen and import his screens.

How can I solve this issue ?

Regards

This topic has been closed for replies.
Best answer by Martin KJELDSEN

You can merge the .touchgfx file (it's json). This is a manual process you'll have to cooperate on to get it right.

Then, import the /gui/ code that your colleague wrote for those generated screens.

/Martin

4 replies

HP_it
Senior II
October 23, 2019

without knowing too much about the format shouldn't it be possible to open the designer file (it's text) and just copy the screen settings over in the other document? Just be careful only to copy the screens and their infos. also not that the screens should have unique names. it's much like a tree structure - XML'ish?

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
October 23, 2019

You can merge the .touchgfx file (it's json). This is a manual process you'll have to cooperate on to get it right.

Then, import the /gui/ code that your colleague wrote for those generated screens.

/Martin

Martin KJELDSEN
Principal III
October 23, 2019

And then, for the future, you'll use git :)

SOtte.602
Associate
November 29, 2020

What's the best way to merge the binary file 'texts.xlsx'?

Merging the .touchgfx file with a diff tool worked fine, but I wasn't able to diff the excel file and so just kept one of the two versions being merged. The resulting TouchGFX Designer project had a number of faulty text strings that needed to be deleted and re-added.