Skip to content

New Staticman Comment

RPdev Bot requested to merge staticman_8d7d18d0-6129-11e9-a574-1f74f4631aaa into master

Dear human,

Here's a new entry for your approval. 🎉

Merge the pull request to accept it, or close it to send it away.

Your friend Staticman 💪


Field Content
comment Hi Andrei,

I don't know how your app is set up, but from the error messages, I would guess that you are embedding your resources (QML+other files) in the executable via Qt's resource system (i.e. using *.qrc files). Maybe you have added only the QML files to the *.qrc file but not the font files?

To verify this, you could add the following somewhere in your C++ code:

#include <QDir>
#include <QDebug>

// Somewhere else, e.g. in main():
QDir dir(":/");
for (auto entry : dir.entryList()) {
    qWarning() << "Found entry in resources:" << entry;
}

This should print a list of all files and folders present in the resources of your app. Check if everything is there you'd expect. | | name | Martin Hoeher | | email | fbf361d6e3bd48a6afcb21f9a636255f | | date | 2019-04-17T15:57:51.393Z |

Merge request reports