JPNaude
26th September 2013, 11:19
The message we are seeing is:
QFontDatabase: Cannot find font directory /opt/Qt5.1.0//5.1.0/gcc_64/lib/fonts - is Qt installed correctly?
Aborted (core dumped)
We've tested with numerous -platform plugins so it does not seem to be platform specific. To get around the issue we simply create that directory and the application launches fine and we don't see any font related issues etc.
The problem now comes when we are deploying the application. When running our deployed application it crashes again if that directory does not exist. The installers can create that directory but it feels a bit silly to do that and it requires sudo rights to create it.
QFontDatabase: Cannot find font directory /opt/Qt5.1.0//5.1.0/gcc_64/lib/fonts - is Qt installed correctly?
Aborted (core dumped)
We've tested with numerous -platform plugins so it does not seem to be platform specific. To get around the issue we simply create that directory and the application launches fine and we don't see any font related issues etc.
The problem now comes when we are deploying the application. When running our deployed application it crashes again if that directory does not exist. The installers can create that directory but it feels a bit silly to do that and it requires sudo rights to create it.