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. Cross compile Qt 5.7 for raspberry pi 3 problem : font (text words) in application not showing up during running
Forum Updated to NodeBB v4.3 + New Features

Cross compile Qt 5.7 for raspberry pi 3 problem : font (text words) in application not showing up during running

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
raspberry pi
33 Posts 11 Posters 30.2k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by SGaist
    #2

    Hi and welcome to devnet,

    Check whether you don't have an empty font folder in your Qt installation on your target.

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

    S 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi and welcome to devnet,

      Check whether you don't have an empty font folder in your Qt installation on your target.

      S Offline
      S Offline
      subi
      wrote on last edited by subi
      #3

      @SGaist
      yes sir i checked it this directory : /usr/local/qt5pi/lib there was no font folder
      before adding the folder :
      Unable to query physical screen size, defaulting to 100 dpi.
      To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
      QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.
      Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
      QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.
      Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
      QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.
      Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
      QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.
      Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.

      so i copied two folders ( fonts & fontconfig ) from directory : /usr/share then i paste it to
      directory : /usr/local/qt5pi/lib
      now /usr/local/qt5pi/lib/fonts/turetype (this directory contain of dejavu folder and it's files , ttf-dejavu folder and it's files inside it ) inside the fonts folder this folder are present truetype ,type1,x11 .

      after adding the folder:
      after running the application it shows only

      Unable to query physical screen size, defaulting to 100 dpi.
      To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

      still fonts are not showing in the application in the raspberry pi 3 which is connected to display : http://www.waveshare.com/wiki/7inch_HDMI_LCD_(C)
      which i had did was correct ? sir ....?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Just to be sure, you are still seeing your application on that screen, only no text, correct ?

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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          subi
          wrote on last edited by
          #5

          @SGaist
          yes.... that is the problem.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            What distribution are you running on your Pi ?

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

            S 1 Reply Last reply
            0
            • SGaistS SGaist

              What distribution are you running on your Pi ?

              S Offline
              S Offline
              subi
              wrote on last edited by
              #7

              @SGaist
              PIXEL - (2017-01-11 ) this is the os i use in raspberry pi...

              P 1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                So the Raspbian base image.

                What options did you pass to Qt when you built it ?

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

                1 Reply Last reply
                0
                • S subi

                  @SGaist
                  PIXEL - (2017-01-11 ) this is the os i use in raspberry pi...

                  P Offline
                  P Offline
                  psamim
                  wrote on last edited by
                  #9

                  @subi Did you find any solution? I have the exact same problem. Thanks.

                  1 Reply Last reply
                  0
                  • Angel PopovA Offline
                    Angel PopovA Offline
                    Angel Popov
                    wrote on last edited by
                    #10

                    Hi there!
                    I have the same problem. My applications runs without displaying any text, in addition the graphics quality is bad.
                    As configuring options I pass ./configure -v -opengl es2 -device linux-rasp-pi-g''+ -device-option CROSS_COMPILE=/usr/bin/ -optimized-qmake -reduce-exports -release -qt-pcre -qt-libpng -make libs -prefix /usr/local/qt5

                    Note: I did native build QT 5.8

                    larry104L 1 Reply Last reply
                    0
                    • Angel PopovA Angel Popov

                      Hi there!
                      I have the same problem. My applications runs without displaying any text, in addition the graphics quality is bad.
                      As configuring options I pass ./configure -v -opengl es2 -device linux-rasp-pi-g''+ -device-option CROSS_COMPILE=/usr/bin/ -optimized-qmake -reduce-exports -release -qt-pcre -qt-libpng -make libs -prefix /usr/local/qt5

                      Note: I did native build QT 5.8

                      larry104L Offline
                      larry104L Offline
                      larry104
                      wrote on last edited by
                      #11

                      @Angel-Popov said in cross compile Qt 5.7 for raspberry pi 3 problem : font (text words) in application not showing up during running:

                      Note: I did native build QT 5.8

                      How did you do the native build of 5.8? I'm struggling with 5.7 for a while now it seems all wiki's are outdated for a Rasp3/Jessie build?

                      Angel PopovA 1 Reply Last reply
                      0
                      • larry104L larry104

                        @Angel-Popov said in cross compile Qt 5.7 for raspberry pi 3 problem : font (text words) in application not showing up during running:

                        Note: I did native build QT 5.8

                        How did you do the native build of 5.8? I'm struggling with 5.7 for a while now it seems all wiki's are outdated for a Rasp3/Jessie build?

                        Angel PopovA Offline
                        Angel PopovA Offline
                        Angel Popov
                        wrote on last edited by Angel Popov
                        #12

                        @larry104 I followed just these few simple steps https://blog.kaloshin.ru/2016/12/10/raspberry-pi-3-и-qt-5-8/
                        And as far as I remember I did pass -skip qtgamepad.

                        However, the text problem remains.

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          agocs
                          wrote on last edited by agocs
                          #13

                          Note that /usr/local/qt5pi/lib/fonts is supposed to be flat, meaning the ttf files must be right in there, without any subdirectories. An alternative, if you do not want to copy anything, is to set QT_QPA_FONTDIR to something suitable, f.ex. /usr/share/fonts/truetype/dejavu (do export QT_QPA_FONTDIR=/usr/share/fonts/truetype/dejavu before running the application)

                          This is of course just a workaround. Why Qt was configured without fontconfig support (this is visible in the summary that is printed after running configure, look for a line with something like "fontconfig ..... no"), is a different question. It usually happens when a system Freetype is not available. Did you follow step #3 at https://wiki.qt.io/RaspberryPi2EGLFS in order to get a rootfs that has the necessary headers/libs?

                          Angel PopovA 2 Replies Last reply
                          2
                          • A agocs

                            Note that /usr/local/qt5pi/lib/fonts is supposed to be flat, meaning the ttf files must be right in there, without any subdirectories. An alternative, if you do not want to copy anything, is to set QT_QPA_FONTDIR to something suitable, f.ex. /usr/share/fonts/truetype/dejavu (do export QT_QPA_FONTDIR=/usr/share/fonts/truetype/dejavu before running the application)

                            This is of course just a workaround. Why Qt was configured without fontconfig support (this is visible in the summary that is printed after running configure, look for a line with something like "fontconfig ..... no"), is a different question. It usually happens when a system Freetype is not available. Did you follow step #3 at https://wiki.qt.io/RaspberryPi2EGLFS in order to get a rootfs that has the necessary headers/libs?

                            Angel PopovA Offline
                            Angel PopovA Offline
                            Angel Popov
                            wrote on last edited by
                            #14

                            @agocs Thank you for you answer. I will check this out as soos as I can.

                            About fontconfig support, the following is the summary of the build with -fonconfing included:

                            Build options:
                            Mode ................................... release; optimized tools
                            Building shared libraries .............. yes
                            Using C++ standard ..................... C++14
                            Using gold linker ...................... yes
                            Using new DTAGS ........................ yes
                            Using precompiled headers .............. yes
                            Using LTCG ............................. no
                            Target compiler supports:
                            NEON ................................. no
                            Build parts ............................ libs
                            Qt modules and options:
                            Qt Concurrent .......................... yes
                            Qt D-Bus ............................... yes
                            Qt D-Bus directly linked to libdbus .... no
                            Qt Gui ................................. yes
                            Qt Network ............................. yes
                            Qt Sql ................................. yes
                            Qt Testlib ............................. yes
                            Qt Widgets ............................. yes
                            Qt Xml ................................. yes
                            Support enabled for:
                            Accessibility .......................... yes
                            Using pkg-config ....................... no
                            QML debugging .......................... yes
                            udev ................................... yes
                            Using system zlib ...................... yes
                            Qt Core:
                            DoubleConversion ....................... yes
                            Using system DoubleConversion ........ no
                            GLib ................................... no
                            iconv .................................. no
                            ICU .................................... yes
                            Logging backends:
                            journald ............................. no
                            syslog ............................... no
                            slog2 ................................ no
                            Using system PCRE ...................... no
                            Qt Network:
                            getaddrinfo() .......................... yes
                            getifaddrs() ........................... yes
                            IPv6 ifname ............................ yes
                            libproxy ............................... no
                            OpenSSL ................................ yes
                            Qt directly linked to OpenSSL ........ no
                            SCTP ................................... no
                            Use system proxies ..................... yes
                            Qt Sql:
                            DB2 (IBM) .............................. no
                            InterBase .............................. no
                            MySql .................................. yes
                            OCI (Oracle) ........................... no
                            ODBC ................................... yes
                            PostgreSQL ............................. yes
                            SQLite2 ................................ yes
                            SQLite ................................. yes
                            Using system provided SQLite ......... no
                            TDS (Sybase) ........................... yes
                            Qt Gui:
                            FreeType ............................... yes
                            Using system FreeType ................ no
                            HarfBuzz ............................... yes
                            Using system HarfBuzz ................ no
                            Fontconfig ............................. no
                            Image formats:
                            GIF .................................. yes
                            ICO .................................. yes
                            JPEG ................................. yes
                            Using system libjpeg ............... yes
                            PNG .................................. yes
                            Using system libpng ................ no
                            OpenGL:
                            EGL .................................. yes
                            Desktop OpenGL ....................... no
                            OpenGL ES 2.0 ........................ yes
                            OpenGL ES 3.0 ........................ no
                            OpenGL ES 3.1 ........................ no
                            Session Management ..................... yes
                            Features used by QPA backends:
                            evdev .................................. yes
                            libinput ............................... no
                            mtdev .................................. no
                            tslib .................................. yes
                            xkbcommon-evdev ........................ no
                            QPA backends:
                            DirectFB ............................... no
                            EGLFS .................................. yes
                            EGLFS details:
                            EGLFS i.Mx6 .......................... no
                            EGLFS i.Mx6 Wayland .................. no
                            EGLFS EGLDevice ...................... no
                            EGLFS GBM ............................ no
                            EGLFS Mali ........................... no
                            EGLFS Raspberry Pi ................... yes
                            EGL on X11 ........................... no
                            LinuxFB ................................ yes
                            Mir client ............................. no
                            X11:
                            Using system provided XCB libraries .. yes
                            EGL on X11 ........................... no
                            Xinput2 .............................. yes
                            XCB XKB .............................. yes
                            XLib ................................. yes
                            Xrender .............................. yes
                            XCB render ........................... yes
                            XCB GLX .............................. yes
                            XCB Xlib ............................. yes
                            Using system-provided xkbcommon ...... no
                            Qt Widgets:
                            GTK+ ................................... no
                            Styles ................................. Fusion Windows
                            Qt PrintSupport:
                            CUPS ................................... yes
                            Qt SerialBus:
                            Socket CAN ............................. yes
                            Socket CAN FD .......................... yes
                            QtXmlPatterns:
                            XML schema support ..................... yes
                            Qt QML:
                            QML interpreter ........................ yes
                            QML network support .................... yes
                            Qt Quick:
                            Direct3D 12 ............................ no
                            AnimatedImage item ..................... yes
                            Canvas item ............................ yes
                            Support for Quick Designer ............. yes
                            Flipable item .......................... yes
                            GridView item .......................... yes
                            ListView item .......................... yes
                            Path support ........................... yes
                            PathView item .......................... yes
                            Positioner items ....................... yes
                            ShaderEffect item ...................... yes
                            Sprite item ............................ yes
                            Qt 3D:
                            System Assimp .......................... no
                            Qt Wayland Drivers:
                            EGL .................................... yes
                            Rasberry Pi ............................ yes
                            XComposite EGL ......................... no
                            XComposite GLX ......................... no
                            DRM EGL ................................ no
                            libhybris EGL .......................... no
                            Qt Wayland Client ........................ yes
                            Qt Wayland Compositor .................... yes
                            Qt Bluetooth:
                            BlueZ .................................. no
                            BlueZ Low Energy ....................... no
                            Linux Crypto API ....................... no
                            Qt Multimedia:
                            ALSA ................................... yes
                            GStreamer 1.0 .......................... no
                            GStreamer 0.10 ......................... no
                            Video for Linux ........................ yes
                            OpenAL ................................. no
                            PulseAudio ............................. no
                            Resource Policy (libresourceqt5) ....... no
                            DirectShow ............................. no
                            Qt Location:
                            Gypsy GPS Daemon ....................... no
                            WinRT Geolocation API .................. no
                            Qt Sensors:
                            sensorfw ............................... no
                            Qt WebEngine:
                            Proprietary Codecs ..................... no
                            Spellchecker ........................... yes
                            ALSA ................................... yes
                            PulseAudio ............................. no

                            Note: Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx

                            Note: -optimized-tools is not useful in -release mode.

                            WARNING: Cross compiling without sysroot. Disabling pkg-config

                            ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.

                            I'm not able to activate the feature it says : ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.

                            Thanks in advance

                            jsulmJ 1 Reply Last reply
                            0
                            • Angel PopovA Angel Popov

                              @agocs Thank you for you answer. I will check this out as soos as I can.

                              About fontconfig support, the following is the summary of the build with -fonconfing included:

                              Build options:
                              Mode ................................... release; optimized tools
                              Building shared libraries .............. yes
                              Using C++ standard ..................... C++14
                              Using gold linker ...................... yes
                              Using new DTAGS ........................ yes
                              Using precompiled headers .............. yes
                              Using LTCG ............................. no
                              Target compiler supports:
                              NEON ................................. no
                              Build parts ............................ libs
                              Qt modules and options:
                              Qt Concurrent .......................... yes
                              Qt D-Bus ............................... yes
                              Qt D-Bus directly linked to libdbus .... no
                              Qt Gui ................................. yes
                              Qt Network ............................. yes
                              Qt Sql ................................. yes
                              Qt Testlib ............................. yes
                              Qt Widgets ............................. yes
                              Qt Xml ................................. yes
                              Support enabled for:
                              Accessibility .......................... yes
                              Using pkg-config ....................... no
                              QML debugging .......................... yes
                              udev ................................... yes
                              Using system zlib ...................... yes
                              Qt Core:
                              DoubleConversion ....................... yes
                              Using system DoubleConversion ........ no
                              GLib ................................... no
                              iconv .................................. no
                              ICU .................................... yes
                              Logging backends:
                              journald ............................. no
                              syslog ............................... no
                              slog2 ................................ no
                              Using system PCRE ...................... no
                              Qt Network:
                              getaddrinfo() .......................... yes
                              getifaddrs() ........................... yes
                              IPv6 ifname ............................ yes
                              libproxy ............................... no
                              OpenSSL ................................ yes
                              Qt directly linked to OpenSSL ........ no
                              SCTP ................................... no
                              Use system proxies ..................... yes
                              Qt Sql:
                              DB2 (IBM) .............................. no
                              InterBase .............................. no
                              MySql .................................. yes
                              OCI (Oracle) ........................... no
                              ODBC ................................... yes
                              PostgreSQL ............................. yes
                              SQLite2 ................................ yes
                              SQLite ................................. yes
                              Using system provided SQLite ......... no
                              TDS (Sybase) ........................... yes
                              Qt Gui:
                              FreeType ............................... yes
                              Using system FreeType ................ no
                              HarfBuzz ............................... yes
                              Using system HarfBuzz ................ no
                              Fontconfig ............................. no
                              Image formats:
                              GIF .................................. yes
                              ICO .................................. yes
                              JPEG ................................. yes
                              Using system libjpeg ............... yes
                              PNG .................................. yes
                              Using system libpng ................ no
                              OpenGL:
                              EGL .................................. yes
                              Desktop OpenGL ....................... no
                              OpenGL ES 2.0 ........................ yes
                              OpenGL ES 3.0 ........................ no
                              OpenGL ES 3.1 ........................ no
                              Session Management ..................... yes
                              Features used by QPA backends:
                              evdev .................................. yes
                              libinput ............................... no
                              mtdev .................................. no
                              tslib .................................. yes
                              xkbcommon-evdev ........................ no
                              QPA backends:
                              DirectFB ............................... no
                              EGLFS .................................. yes
                              EGLFS details:
                              EGLFS i.Mx6 .......................... no
                              EGLFS i.Mx6 Wayland .................. no
                              EGLFS EGLDevice ...................... no
                              EGLFS GBM ............................ no
                              EGLFS Mali ........................... no
                              EGLFS Raspberry Pi ................... yes
                              EGL on X11 ........................... no
                              LinuxFB ................................ yes
                              Mir client ............................. no
                              X11:
                              Using system provided XCB libraries .. yes
                              EGL on X11 ........................... no
                              Xinput2 .............................. yes
                              XCB XKB .............................. yes
                              XLib ................................. yes
                              Xrender .............................. yes
                              XCB render ........................... yes
                              XCB GLX .............................. yes
                              XCB Xlib ............................. yes
                              Using system-provided xkbcommon ...... no
                              Qt Widgets:
                              GTK+ ................................... no
                              Styles ................................. Fusion Windows
                              Qt PrintSupport:
                              CUPS ................................... yes
                              Qt SerialBus:
                              Socket CAN ............................. yes
                              Socket CAN FD .......................... yes
                              QtXmlPatterns:
                              XML schema support ..................... yes
                              Qt QML:
                              QML interpreter ........................ yes
                              QML network support .................... yes
                              Qt Quick:
                              Direct3D 12 ............................ no
                              AnimatedImage item ..................... yes
                              Canvas item ............................ yes
                              Support for Quick Designer ............. yes
                              Flipable item .......................... yes
                              GridView item .......................... yes
                              ListView item .......................... yes
                              Path support ........................... yes
                              PathView item .......................... yes
                              Positioner items ....................... yes
                              ShaderEffect item ...................... yes
                              Sprite item ............................ yes
                              Qt 3D:
                              System Assimp .......................... no
                              Qt Wayland Drivers:
                              EGL .................................... yes
                              Rasberry Pi ............................ yes
                              XComposite EGL ......................... no
                              XComposite GLX ......................... no
                              DRM EGL ................................ no
                              libhybris EGL .......................... no
                              Qt Wayland Client ........................ yes
                              Qt Wayland Compositor .................... yes
                              Qt Bluetooth:
                              BlueZ .................................. no
                              BlueZ Low Energy ....................... no
                              Linux Crypto API ....................... no
                              Qt Multimedia:
                              ALSA ................................... yes
                              GStreamer 1.0 .......................... no
                              GStreamer 0.10 ......................... no
                              Video for Linux ........................ yes
                              OpenAL ................................. no
                              PulseAudio ............................. no
                              Resource Policy (libresourceqt5) ....... no
                              DirectShow ............................. no
                              Qt Location:
                              Gypsy GPS Daemon ....................... no
                              WinRT Geolocation API .................. no
                              Qt Sensors:
                              sensorfw ............................... no
                              Qt WebEngine:
                              Proprietary Codecs ..................... no
                              Spellchecker ........................... yes
                              ALSA ................................... yes
                              PulseAudio ............................. no

                              Note: Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx

                              Note: -optimized-tools is not useful in -release mode.

                              WARNING: Cross compiling without sysroot. Disabling pkg-config

                              ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.

                              I'm not able to activate the feature it says : ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.

                              Thanks in advance

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

                              @Angel-Popov Call configure with additional -v parameter, then you should see why fontconfig check fails (most probably missing libs/header).

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

                              1 Reply Last reply
                              0
                              • A agocs

                                Note that /usr/local/qt5pi/lib/fonts is supposed to be flat, meaning the ttf files must be right in there, without any subdirectories. An alternative, if you do not want to copy anything, is to set QT_QPA_FONTDIR to something suitable, f.ex. /usr/share/fonts/truetype/dejavu (do export QT_QPA_FONTDIR=/usr/share/fonts/truetype/dejavu before running the application)

                                This is of course just a workaround. Why Qt was configured without fontconfig support (this is visible in the summary that is printed after running configure, look for a line with something like "fontconfig ..... no"), is a different question. It usually happens when a system Freetype is not available. Did you follow step #3 at https://wiki.qt.io/RaspberryPi2EGLFS in order to get a rootfs that has the necessary headers/libs?

                                Angel PopovA Offline
                                Angel PopovA Offline
                                Angel Popov
                                wrote on last edited by Angel Popov
                                #16

                                @agocs I solved on QT 5.8 by providing fonts in Qt/lib/fonts without any subdirectories. However, the graphics quality is not so good and animations run slow. It says, in the debug console as I run the app, that JIT is disabled and it is required for fluid animations. How can I improve the graphics, enable JIT and have better performance?

                                Thanks

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  Malachi
                                  wrote on last edited by Malachi
                                  #17

                                  I am encountering this exact situation as well. Spent many hours on it, still not solved

                                  In my environment sysroot + pkg-config are fully configured. Using Qt 5.8

                                  If I poke into the pkgconfig folder fontconfig does report it's there.

                                  /usr/lib/arm-linux-gnueabihf/libfontconfig.so in sysroot is present

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • M Malachi

                                    I am encountering this exact situation as well. Spent many hours on it, still not solved

                                    In my environment sysroot + pkg-config are fully configured. Using Qt 5.8

                                    If I poke into the pkgconfig folder fontconfig does report it's there.

                                    /usr/lib/arm-linux-gnueabihf/libfontconfig.so in sysroot is present

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

                                    @Malachi Are fontconfig header files present in the sysroot?
                                    Pass -v parameter to configure and check what it says about fontconfig.

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

                                    M 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @Malachi Are fontconfig header files present in the sysroot?
                                      Pass -v parameter to configure and check what it says about fontconfig.

                                      M Offline
                                      M Offline
                                      Malachi
                                      wrote on last edited by
                                      #19

                                      @jsulm I will check this

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        Malachi
                                        wrote on last edited by
                                        #20

                                        The fontconfig header files are present in /usr/include/fontconfig

                                        I pass in -v, however when I review config.log the only mention of fontconfig is where I explicit specify it on the command line

                                        1 Reply Last reply
                                        0
                                        • SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #21

                                          The files must be in the sysroot for your target, not from your desktop distribution.

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

                                          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