* [Buildroot] Qt5Declarative examples
@ 2014-06-09 16:58 Will Wagner
2014-06-13 8:54 ` Fatih Aşıcı
0 siblings, 1 reply; 2+ messages in thread
From: Will Wagner @ 2014-06-09 16:58 UTC (permalink / raw)
To: buildroot
Hello,
Just started taking a look at Qt5Declarative and noticed that examples
aren't being built/installed.
Having looked at the .mk files it is easy to conditionally build the
examples depending on qt5base config option about examples, but I'm
unsure how best to do the install target step.
In Qt5Base it just does:
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/*
$(TARGET_DIR)/usr/lib/qt/examples
to install examples from staging.
This would also work for Qt5Declarative but it seems like a poor
solution to just copy and paste the same code.
Can anyone think of a better way of doing this? Perhaps define something
in qt5.mk and use that in both qt5base and qt5declarative?
If I can come up with anything neat I'll submit a patch.
Regards
Will
--
------------------------------------------------------------------------
Will Wagner will_wagner at carallon.com
Development Manager Office Tel: +44 (0)20 7471 9224
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Qt5Declarative examples
2014-06-09 16:58 [Buildroot] Qt5Declarative examples Will Wagner
@ 2014-06-13 8:54 ` Fatih Aşıcı
0 siblings, 0 replies; 2+ messages in thread
From: Fatih Aşıcı @ 2014-06-13 8:54 UTC (permalink / raw)
To: buildroot
On Monday 09 June 2014 19:58:29 Will Wagner wrote:
> Hello,
Hi,
> Just started taking a look at Qt5Declarative and noticed that examples
> aren't being built/installed.
>
> Having looked at the .mk files it is easy to conditionally build the
> examples depending on qt5base config option about examples, but I'm
> unsure how best to do the install target step.
>
> In Qt5Base it just does:
> cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/*
> $(TARGET_DIR)/usr/lib/qt/examples
> to install examples from staging.
>
> This would also work for Qt5Declarative but it seems like a poor
> solution to just copy and paste the same code.
>
> Can anyone think of a better way of doing this? Perhaps define something
> in qt5.mk and use that in both qt5base and qt5declarative?
You can have a look at qt5enginio and qt5websockets packages. They are
installing their examples if BR2_PACKAGE_QT5BASE_EXAMPLES.
There are 3 directories you need to copy for qt5declarative. Following lines will be enough
to copy all of them:
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/qml* $(TARGET_DIR)/usr/lib/qt/examples/
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/quick $(TARGET_DIR)/usr/lib/qt/examples/
Regards,
Fatih
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-13 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 16:58 [Buildroot] Qt5Declarative examples Will Wagner
2014-06-13 8:54 ` Fatih Aşıcı
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox