A
A
Alexander2014-08-14 10:59:39
Qt
Alexander, 2014-08-14 10:59:39

QT, Windows how to solve the problem with fonts?

Hello.
The problem is this:
There is a git repository with a ready-made vlc-based video player application with custom fonts, and there is a production version built from the same repository as an exe via inno setup. When I install the production version, everything is OK, all the fonts are as they should be, but if I build the project myself, then the fonts are not correct. I changed only the .pro file in the project to change the paths to the libs. There are fonts in the repository, I copy them to the exe folder. I even deleted these fonts manually from Windows (MB overlaps somehow), the result is the same.
QT 5.3.1.
Has anyone encountered this problem and knows how to solve it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2014-08-18
Obiedkov @aobiedkov

Problem solved. The new version of Qt for some reason determines the font size differently, changed the size manually in qss and everything is ok.

A
Alexander Taratin, 2014-08-14
@Taraflex

QML or regular widget application?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question