Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QFontDatabase: Cannot find font directory { PATH} - is Qt installed correctly?



  • I'm trying to run the static Qt demo on my embedded Linux via NFS by executing: ./deform -qws (running on Qt-enterprise-4.8) as my static Qt demo is residing on my host Ubuntu PC.

    However I received the following error:

    QFontDatabase: Cannot find font directory /usr/local/Trolltech/QtEmbedded-4.8.6-arm/lib/fonts - is Qt installed correctly?

    is there a way to change PATH of QFontDatabase for my embedded Linux to look for it in another PATH residing on my Ubuntu PC?


  • Lifetime Qt Champion

    Hi,

    The most simple thing to do is to copy the content of the folder over on the NFS at the same place.



  • Got it; actually my vendor supplied framebuffer code had some error; reverted to the original framebuffer and it's working again.


  • Lifetime Qt Champion

    I fail to see the relation with QFontDatabase. Can you explain ?


Log in to reply