Is it possible to change directory for QFontDatabase ?
Hi when I run a static Qt5 app on my target embedded device, is it possible to change the directory for QFontDatabase to point to my NFS instead? As i'm assessing the fonts via NFS to my host for development work. Where may I set this path?
I'm not sure if there is an official way - but you can try to cheat with a symlink or you can iterate over the files in your NFS mount and load them by calling the static method
QFontDataBase::addApplicationFont(...)with the absolute path of each font file you want to load.
@micland I see. I guess I probably reconfigure my sources again and add -extprefix and -prefix paths to it to be neater.