All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path
@ 2016-10-20 16:46 Otavio Salvador
  2016-10-20 16:53 ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2016-10-20 16:46 UTC (permalink / raw)
  To: Meta-OpenEmbedded Mailing listing; +Cc: Otavio Salvador

As Qt internal fonts (qtbase-fonts) are not included anymore, we need
to rely on system fonts to work.

All major distributions, as well as all recipes on OE-Core and
Meta-OE, use ${datadir}/fonts as path so we adapt the value for use
for Qt use as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 classes/qmake5_paths.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/qmake5_paths.bbclass b/classes/qmake5_paths.bbclass
index e1101a9..ef3ff8f 100644
--- a/classes/qmake5_paths.bbclass
+++ b/classes/qmake5_paths.bbclass
@@ -49,4 +49,4 @@ OE_QMAKE_PATH_QT_SETTINGS = "${sysconfdir}${QT_DIR_NAME}"
 OE_QMAKE_PATH_QT_EXAMPLES = "${datadir}${QT_DIR_NAME}/examples"
 OE_QMAKE_PATH_QT_TESTS = "${datadir}${QT_DIR_NAME}/tests"
 
-OE_QMAKE_PATH_QT_FONTS = "${OE_QMAKE_PATH_LIBS}/fonts"
+OE_QMAKE_PATH_QT_FONTS = "${OE_QMAKE_PATH_DATA}/fonts"
-- 
2.10.0



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

* Re: [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path
  2016-10-20 16:46 [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path Otavio Salvador
@ 2016-10-20 16:53 ` Otavio Salvador
  2016-10-21  6:47   ` Samuli Piippo
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2016-10-20 16:53 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Samuli Piippo, Meta-OpenEmbedded Mailing listing

Hello folks,

On Thu, Oct 20, 2016 at 2:46 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> As Qt internal fonts (qtbase-fonts) are not included anymore, we need
> to rely on system fonts to work.
>
> All major distributions, as well as all recipes on OE-Core and
> Meta-OE, use ${datadir}/fonts as path so we adapt the value for use
> for Qt use as well.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Please take a look at this. This fixes a customer which were trying to
use morty with Qt Virtual Keyboard.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path
  2016-10-20 16:53 ` Otavio Salvador
@ 2016-10-21  6:47   ` Samuli Piippo
  2016-10-21 11:58     ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Samuli Piippo @ 2016-10-21  6:47 UTC (permalink / raw)
  To: Otavio Salvador, Otavio Salvador
  Cc: Samuli Piippo, Meta-OpenEmbedded Mailing listing

That looks like the correct path to use, but how does this fix the problem?
OE_QMAKE_PATH_QT_FONTS doesn't seem to used anywhere in meta-qt5 any 
more and probably should have been removed together with the font 
packaging bits.

-samuli

On 20.10.2016 19:53, Otavio Salvador wrote:
> Hello folks,
>
> On Thu, Oct 20, 2016 at 2:46 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> As Qt internal fonts (qtbase-fonts) are not included anymore, we need
>> to rely on system fonts to work.
>>
>> All major distributions, as well as all recipes on OE-Core and
>> Meta-OE, use ${datadir}/fonts as path so we adapt the value for use
>> for Qt use as well.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Please take a look at this. This fixes a customer which were trying to
> use morty with Qt Virtual Keyboard.
>


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

* Re: [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path
  2016-10-21  6:47   ` Samuli Piippo
@ 2016-10-21 11:58     ` Otavio Salvador
  2016-10-24 10:36       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2016-10-21 11:58 UTC (permalink / raw)
  To: Samuli Piippo
  Cc: Samuli Piippo, Meta-OpenEmbedded Mailing listing, Otavio Salvador

On Fri, Oct 21, 2016 at 4:47 AM, Samuli Piippo <samuli.piippo@qt.io> wrote:
> That looks like the correct path to use, but how does this fix the problem?
> OE_QMAKE_PATH_QT_FONTS doesn't seem to used anywhere in meta-qt5 any more
> and probably should have been removed together with the font packaging bits.

It did not fix it, indeed. We had a left over from a test so it hided
the issue. We are checking it now.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path
  2016-10-21 11:58     ` Otavio Salvador
@ 2016-10-24 10:36       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2016-10-24 10:36 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: Meta-OpenEmbedded Mailing listing, Samuli Piippo

On Fri, Oct 21, 2016 at 9:58 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Fri, Oct 21, 2016 at 4:47 AM, Samuli Piippo <samuli.piippo@qt.io> wrote:
>> That looks like the correct path to use, but how does this fix the problem?
>> OE_QMAKE_PATH_QT_FONTS doesn't seem to used anywhere in meta-qt5 any more
>> and probably should have been removed together with the font packaging bits.
>
> It did not fix it, indeed. We had a left over from a test so it hided
> the issue. We are checking it now.

This change ought to be ignored; the Qt QPA has a hardcoded path which
can be overridden using an environment var and this seems to be the
standard practice for people not using fontconfig support.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

end of thread, other threads:[~2016-10-24 10:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-20 16:46 [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path Otavio Salvador
2016-10-20 16:53 ` Otavio Salvador
2016-10-21  6:47   ` Samuli Piippo
2016-10-21 11:58     ` Otavio Salvador
2016-10-24 10:36       ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.