Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Using TTF and how to configure the fontconfig in Linux
Forum Updated to NodeBB v4.3 + New Features

Using TTF and how to configure the fontconfig in Linux

Scheduled Pinned Locked Moved Solved Mobile and Embedded
18 Posts 4 Posters 13.4k Views 2 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.
  • S SGaist
    12 Sept 2016, 19:29

    Where are your includes installed ?

    D Offline
    D Offline
    dynam1te
    wrote on 13 Sept 2016, 07:05 last edited by dynam1te
    #9

    @SGaist I thought that I don't have the fontconfig library installed, but I just checked with the command:

    /sbin/ldconfig -p
    

    And it turns out that I do have the library installed. This is what I find:

    libfontconfig.so.1 (libc6,x86-64) => usr/lib/x86_64-linux-gnu/libfontconfig.so.1
    libfontconfig.so.1 (libc6) => usr/lib/i1386-linux-gnu/libfontconfig.so.1
    

    I still couldn't install the fontconfig-dev packages.

    The current error is:

    fontconfig/fontconfig.h: No such file or directory
     #include <fontconfig/fontconfig.h>
    

    What would you suggest to do next?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 13 Sept 2016, 07:13 last edited by
      #10

      You won't have the headers if you don't have the dev package installed. Like I suggested before, you can grab the package for the repositories of the distribution running on your virtual machine and install it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply 13 Sept 2016, 08:33
      0
      • S SGaist
        13 Sept 2016, 07:13

        You won't have the headers if you don't have the dev package installed. Like I suggested before, you can grab the package for the repositories of the distribution running on your virtual machine and install it.

        D Offline
        D Offline
        dynam1te
        wrote on 13 Sept 2016, 08:33 last edited by
        #11

        @SGaist Yeah, I'm trying to get it installed, I get alot of errors though.
        When I run the downloaded .deb (http://packages.ubuntu.com/trusty/libfontconfig1-dev).
        I can't install it via the Software Center.
        And when I run the dpkg command, it won't install. (Errors encountered)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 13 Sept 2016, 08:38 last edited by
          #12

          Which version of Ubuntu are you running on that virtual machine ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          D 2 Replies Last reply 13 Sept 2016, 08:56
          0
          • S SGaist
            13 Sept 2016, 08:38

            Which version of Ubuntu are you running on that virtual machine ?

            D Offline
            D Offline
            dynam1te
            wrote on 13 Sept 2016, 08:56 last edited by
            #13

            @SGaist
            Ubuntu 14.04 LTS
            64-bit

            1 Reply Last reply
            0
            • S SGaist
              13 Sept 2016, 08:38

              Which version of Ubuntu are you running on that virtual machine ?

              D Offline
              D Offline
              dynam1te
              wrote on 13 Sept 2016, 09:04 last edited by dynam1te
              #14

              @SGaist I installed fontconfig-config, because it looks like it's a dependency from libfontconfig1 (http://packages.ubuntu.com/trusty/libfontconfig1)

              I'm not sure if it's because of that, but I managed to get a bit further with the make process.
              The only errors are variables that are not used.

              I get a fontconfig file. not sure how I run or use it though.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dynam1te
                wrote on 13 Sept 2016, 11:42 last edited by
                #15

                Final update

                Installed libfontconfig-dev and all it's dependencies. Thanks for the help.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  LostDeveloper
                  wrote on 27 Jun 2019, 09:58 last edited by
                  #16
                  This post is deleted!
                  R 1 Reply Last reply 27 Jun 2019, 11:48
                  0
                  • L LostDeveloper
                    27 Jun 2019, 09:58

                    This post is deleted!

                    R Offline
                    R Offline
                    raven-worx
                    Moderators
                    wrote on 27 Jun 2019, 11:48 last edited by
                    #17

                    @LostDeveloper
                    no need to double post,
                    even not on a 3 year old thread

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    2
                    • L Offline
                      L Offline
                      LostDeveloper
                      wrote on 28 Jun 2019, 02:40 last edited by
                      #18
                      This post is deleted!
                      1 Reply Last reply
                      0

                      • Login

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