Qt-5.7.1 building for fedora

  • Hi,

    I am trying to configure Qt-5.7.1 for fedora, everything is fine but after completion of building when I am trying to open assistant, it is opening but characters are not displaying and following error are displaying on console:

    ***QFontDatabase: Cannot find font directory /usr/local/Qt-5.7.1Desktop/lib/fonts.
    Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.

    Can you please go through it and give me solution to build 5.7.1 successfully.
    Thanks in advance.

  • Moderators

    @DivyaMuthyala I guess when you configured Qt fontconfig was disabled? What you can try: install dev package for fontconfig and configure/make again (make sure fontconfig is activated in the configure report).

  • Hi Jsulm,

    Thanks for your suggestion, i was also trying to do with fontconfig argument.
    But i am still wondering that, when i have installed same way(without fontconfig argument) in Ubuntu-Desktop, then it's working fine, without any error or warning.
    So, what could be the reason. it's related to OS or Qt.

    Anyway i am going to try with your suggestion thereafter i will update you.

  • Hi Jsulm,

    I have tried with fontconfig according to your suggestion, but still I am facing same issuue.
    Can you please help me.
    Thanks in advance.

  • Moderators

    @DivyaMuthyala Did you install fontconfig dev-package?
    When calling configure pass -v parameter and check what happens when configure tries to find fontconfig.
    If you don't want to use fontconfig then you can create /usr/local/Qt-5.7.1Desktop/lib/fonts directory and put some fonts there.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.