Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt-5.7.1 building for fedora
Forum Updated to NodeBB v4.3 + New Features

Qt-5.7.1 building for fedora

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DivyaMuthyala
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • D DivyaMuthyala

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • D Offline
        D Offline
        DivyaMuthyala
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DivyaMuthyala
          wrote on last edited by
          #4

          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.

          jsulmJ 1 Reply Last reply
          0
          • D DivyaMuthyala

            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.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @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.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved