Subsurface cross-compile to Android
Willem Ferguson
willemferguson at zoology.up.ac.za
Wed Jul 6 12:32:42 PDT 2016
On 02/07/2016 18:10, Axel Richter wrote:
> Hi Willem,
>
> that did it for me:
>
> diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc
> index 6983533..1c56e94 100644
> --- a/mobile-widgets/qml/mobile-resources.qrc
> +++ b/mobile-widgets/qml/mobile-resources.qrc
> @@ -24,7 +24,6 @@
> <file alias="nocloud.svg">icons/nocloud.svg</file>
> </qresource>
> <qresource prefix="/imports">
> - <file alias="org/kde/kirigami/qmldir">kirigami/qmldir</file>
> <file alias="org/kde/kirigami/Action.qml">kirigami/Action.qml</file>
> <file alias="org/kde/kirigami/ApplicationWindow.qml">kirigami/ApplicationWindow.qml</file>
> <file alias="org/kde/kirigami/BasicListItem.qml">kirigami/BasicListItem.qml</file>
> diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh
> index ec1e97f..27c8e7f 100755
> --- a/scripts/mobilecomponents.sh
> +++ b/scripts/mobilecomponents.sh
> @@ -44,13 +44,14 @@ fi
>
> # now copy the components and a couple of icons into plae
> MC=$SRC/subsurface/mobile-widgets/qml/kirigami
> -PMMC=kirigami/src/qml
> +# PMMC=kirigami/src/qml
> +PMMC=kirigami/src/controls
> BREEZE=breeze-icons
>
> rm -rf $MC
> mkdir -p $MC/icons
> cp -R $PMMC/* $MC/
> -cp $PMMC/../fallbacktheme/*qml $MC/
> +cp -R $PMMC/templates/* $MC/
>
> # fix plugin requirement
> sed -i -e 's/^plugin kirigamiplugin/# plugin kirigamiplugin/' $MC/qmldir
>
> Axel.
>
> --
> ------------------------------------------------------------------------
>
Hi Axel,
Thank you. Sorry for a slow response. I was away for a week.
After making these changes I get an error
cp: cannot stat '/templates/*': no such file or directory
indicating that there is not a templates folder. This appears to be a
scripting error.
There is a templates directory in subsurface/mobile-widgets/qml/kirigam.
Is this what PPMC refers to?
In src/subsurface/mobile-widgets/qml/kirigami/icons I have the 12 icons
that are within src/kirigami
In mobile-widgets/qml/kirigami I have a folder named templates
containing the 7 qml templates.
Here is probably the problem.
The sed command refers to qmldir that does not exist.
Although I have used sed I am not familiar with the stream editor and
cannot decipher the command.
Kind regards,
willem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160706/e0fb1623/attachment.html>
More information about the subsurface
mailing list