2026-01-09 4:27 AM
Hi,
I am new on TouchGFX and UI making, i have make many screens with transition in between i want to add a qr Code,
But when I just add a default qrcode no edit, but it dont show any thing, on that screen but when i change screen to different one and come back again the previous screen content print on qr code area.
First screen:
Qr screen: in the qr area the previous screen pixel shown
Qr next screen: when we go to next screen and again come back it again shows same issue.
or if we set the qr screen as startup it shows black completely in the qr region.
Kindly tell which issue causing this, as i does following troubleshoot from my sie;
1- use the invalidate in constructor, setup screen of view, and with screen coding in view file.
2- try to look every possible options like change qr versions, scale, ECC. mostly every option
3- try https://www.qrcode.com/en/about/version.html qr version table combitions to correctly check
4- change screens and try on different projects.
screen 1: w:230 and h:303
screen 2: w:320 and h:240
both are monochrome lcds
Also try in both touchgfx desiners 4.25 and 4.26
2026-01-09 6:40 AM
Hello @furqanbari431.
What happens when you run the simulator? Can you share your project?
Best regards,
Johan
2026-01-09 7:30 AM
TochGFX isnt optimized for monochrome, plus here isnt used framebuffer or LTDC. Maybe you have SPI...
Best way is show your code and read QR Code | TouchGFX Documentation
2026-01-11 11:43 PM
Hi john,
me furqan bari recently you reply on my issue in community,
i cant share the project of this, as it a company project and i cant share it as per policy,
although you asked about simulator, it cant run, whenever i run it, it give error run simulator failed, as some other persons have work on it before, now i am continue it, So for now all the other screens are working on physicsl screen, but not on simulator.
Is their any questions or other options to fix qr issue.
2026-01-11 11:45 PM
Yes our lcd use spi communication, so is their any solution for monochrome lcd, or their any drivers you know if any.
Thank you for your contribution.
2026-01-12 1:21 AM - edited 2026-01-12 1:28 AM
OK, understood. It is a bit difficult to help you fix the issue then. I can create an example to show that it works in a blank project, but that does not really help you in your current situation.
However, we can maybe try to work around the issue.
Does the QR code need to be dynamic or can it just be static? And do you have extra flash memory available? If so, you could try to replace the QR code widget with an image of the QR code instead of generating it dynamically.
Best regards,
Johan
2026-01-12 1:36 AM
Yes i have the extra flash memory, but the qr generation is dynamic in my project.
2026-01-12 1:52 AM
And there is no way for you to fix the simulator in your current project?
Alternatively, would it be possible for you to import your GUI into a new blank project and run the simulator there?
Best regards,
Johan