Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6830] New: Qt5: no fonts are installed
@ 2014-02-01  0:46 bugzilla at busybox.net
  2014-02-01  8:50 ` [Buildroot] [Bug 6830] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-01  0:46 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6830

           Summary: Qt5: no fonts are installed
           Product: buildroot
           Version: 2014.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: syntheticpp at gmx.net
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Qt5 was build with linuxfb only and widgets, fontconfig enabled, but
/output/target/usr/lib/font is empty.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 6830] Qt5: no fonts are installed
  2014-02-01  0:46 [Buildroot] [Bug 6830] New: Qt5: no fonts are installed bugzilla at busybox.net
@ 2014-02-01  8:50 ` bugzilla at busybox.net
  2014-02-01 11:57 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-01  8:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6830

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-02-01 08:50:14 UTC ---
Interesting. We do have some code that should install fonts to the target
directory, when Qt has installed them to the staging directory. From
qt5base.mk:

define QT5BASE_INSTALL_TARGET_FONTS
        if [ -d $(STAGING_DIR)/usr/lib/fonts/ ] ; then \
                mkdir -p $(TARGET_DIR)/usr/lib/fonts ; \
                cp -dpfr $(STAGING_DIR)/usr/lib/fonts/*
$(TARGET_DIR)/usr/lib/fonts ; \
        fi
endef

So maybe the specific configuration you're using does not install fonts to the
staging directory.

Can you post your Buildroot .config file?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 6830] Qt5: no fonts are installed
  2014-02-01  0:46 [Buildroot] [Bug 6830] New: Qt5: no fonts are installed bugzilla at busybox.net
  2014-02-01  8:50 ` [Buildroot] [Bug 6830] " bugzilla at busybox.net
@ 2014-02-01 11:57 ` bugzilla at busybox.net
  2014-02-01 15:31 ` bugzilla at busybox.net
  2016-03-18 13:30 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-01 11:57 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6830

--- Comment #2 from syntheticpp at gmx.net 2014-02-01 11:57:47 UTC ---
Seems -fontconfig disables font installation:

$cat qtbase/mkspecs/features/qpa/genericunixfontdatabase.prf
CONFIG += qpa/basicunixfontdatabase
contains(QT_CONFIG, fontconfig) {
    DEFINES += Q_FONTCONFIGDATABASE
    LIBS += -lfontconfig
} else:!android {
    fonts.path = $$[QT_INSTALL_LIBS]/fonts
    fonts.files = $$QT_SOURCE_TREE/lib/fonts/*
    INSTALLS += fonts
}

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 6830] Qt5: no fonts are installed
  2014-02-01  0:46 [Buildroot] [Bug 6830] New: Qt5: no fonts are installed bugzilla at busybox.net
  2014-02-01  8:50 ` [Buildroot] [Bug 6830] " bugzilla at busybox.net
  2014-02-01 11:57 ` bugzilla at busybox.net
@ 2014-02-01 15:31 ` bugzilla at busybox.net
  2016-03-18 13:30 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-01 15:31 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6830

syntheticpp at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from syntheticpp at gmx.net 2014-02-01 15:31:55 UTC ---
I also don't build freetype now, but have not tested if it's a requirement.

Overall, it's more a question of documentation.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 6830] Qt5: no fonts are installed
  2014-02-01  0:46 [Buildroot] [Bug 6830] New: Qt5: no fonts are installed bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2014-02-01 15:31 ` bugzilla at busybox.net
@ 2016-03-18 13:30 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-03-18 13:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6830

Alexey Brodkin <abrodkin@synopsys.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |abrodkin at synopsys.com

--- Comment #4 from Alexey Brodkin <abrodkin@synopsys.com> ---
Indeed with BR2_PACKAGE_QT5BASE_FONTCONFIG selected no fonts are installed in
staging and essentially they won't get on target.

Moreover even if one puts fonts in /usr/lib/fonts on target they won't appear
in Qt5 apps.

So I had to rebuild entire Qt5 after I disabled BR2_PACKAGE_QT5BASE_FONTCONFIG
and fonts appeared in Qt apps.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-18 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01  0:46 [Buildroot] [Bug 6830] New: Qt5: no fonts are installed bugzilla at busybox.net
2014-02-01  8:50 ` [Buildroot] [Bug 6830] " bugzilla at busybox.net
2014-02-01 11:57 ` bugzilla at busybox.net
2014-02-01 15:31 ` bugzilla at busybox.net
2016-03-18 13:30 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox