can you use switchToResourcesParentIfRequired and then reference the application font at "./resources/styles/Inconsolata.otf"

Otherwise (if Qt doesn't look relative the current dir) this is okay.