Basically, this patch fixes both.
The main reason why it *only* fixes PC, but not for touch is that we forget to re-compile qtubuntu(libqpa-ubuntumirclient.so) to make this work.Compiling qtbase automatically enable qpa(linuxfb,eglfs...) linked against patch applied qtbase module. So we can't reproduce this issue on PC(linuxfb).
However as a standalone qpa plugin,ubuntumirclient is not native supported,which means it's not in qtbase/src/plugins/platforms).So ubuntumirclient can't find the new added symbol(QFontconfigDatabase::fontsAlwaysScalable()).And it didn't work out on touch.
Please check the attached picture. I test and verify my patch on bq.
Basically, this patch fixes both. libqpa- ubuntumirclient .so) to make this work.Compiling qtbase automatically enable qpa(linuxfb, eglfs.. .) linked against patch applied qtbase module. So we can't reproduce this issue on PC(linuxfb). ubuntumirclient is not native supported,which means it's not in qtbase/ src/plugins/ platforms) .So ubuntumirclient can't find the new added symbol( QFontconfigData base::fontsAlwa ysScalable( )).And it didn't work out on touch.
The main reason why it *only* fixes PC, but not for touch is that we forget to re-compile qtubuntu(
However as a standalone qpa plugin,
Please check the attached picture. I test and verify my patch on bq.