From 2480f21e5b2463bd5ac82980f44386277f24c51f Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 10 Mar 2016 14:40:19 +0100 Subject: correctly build on android --- qt-mobile/qml/mobile-resources.qrc | 67 ++++++++++++++++++++------------------ scripts/mobilecomponents.sh | 10 +++--- 2 files changed, 41 insertions(+), 36 deletions(-) diff --git a/qt-mobile/qml/mobile-resources.qrc b/qt-mobile/qml/mobile-resources.qrc index 1039e9c32..f3fe82e08 100644 --- a/qt-mobile/qml/mobile-resources.qrc +++ b/qt-mobile/qml/mobile-resources.qrc @@ -24,36 +24,41 @@ icons/menu-back.png - mobilecomponents/qmldir - mobilecomponents/ActionGroup.qml - mobilecomponents/ApplicationWindow.qml - mobilecomponents/BasicListItem.qml - mobilecomponents/GlobalDrawer.qml - mobilecomponents/ContextDrawer.qml - mobilecomponents/Page.qml - mobilecomponents/Icon.qml - mobilecomponents/Heading.qml - mobilecomponents/PageRow.qml - mobilecomponents/Label.qml - mobilecomponents/ListItem.qml - mobilecomponents/ListItemWithActions.qml - mobilecomponents/OverlayDrawer.qml - mobilecomponents/Theme.qml - mobilecomponents/Units.qml - mobilecomponents/private/ActionButton.qml - mobilecomponents/private/ActionButtonArrow.qml - mobilecomponents/private/AbstractDrawer.qml - mobilecomponents/private/PageStack.js - mobilecomponents/private/PassiveNotification.qml - mobilecomponents/icons/go-next.svg - mobilecomponents/icons/go-previous.svg - mobilecomponents/icons/distribute-horizontal-x.svg - mobilecomponents/icons/document-edit.svg - mobilecomponents/icons/document-save.svg - mobilecomponents/icons/view-readermode.svg - mobilecomponents/icons/dialog-cancel.svg - mobilecomponents/icons/application-menu.svg - mobilecomponents/icons/gps.svg - mobilecomponents/icons/trash-empty.svg + mobilecomponents/qmldir + mobilecomponents/Action.qml + mobilecomponents/ApplicationWindow.qml + mobilecomponents/BasicListItem.qml + mobilecomponents/GlobalDrawer.qml + mobilecomponents/ContextDrawer.qml + mobilecomponents/Page.qml + mobilecomponents/ScrollablePage.qml + mobilecomponents/Icon.qml + mobilecomponents/Heading.qml + mobilecomponents/OverlaySheet.qml + mobilecomponents/ApplicationHeader.qml + mobilecomponents/private/PageRow.qml + mobilecomponents/Label.qml + mobilecomponents/AbstractListItem.qml + mobilecomponents/ActionsForListItem.qml + mobilecomponents/OverlayDrawer.qml + mobilecomponents/Theme.qml + mobilecomponents/Units.qml + mobilecomponents/private/RefreshableScrollView.qml + mobilecomponents/private/ActionButton.qml + mobilecomponents/private/MenuIcon.qml + mobilecomponents/private/ContextIcon.qml + mobilecomponents/private/AbstractDrawer.qml + mobilecomponents/private/PageStack.js + mobilecomponents/private/PassiveNotification.qml + mobilecomponents/icons/go-next.svg + mobilecomponents/icons/go-previous.svg + mobilecomponents/icons/distribute-horizontal-x.svg + mobilecomponents/icons/document-edit.svg + mobilecomponents/icons/document-save.svg + mobilecomponents/icons/view-readermode.svg + mobilecomponents/icons/dialog-cancel.svg + mobilecomponents/icons/application-menu.svg + mobilecomponents/icons/gps.svg + mobilecomponents/icons/trash-empty.svg diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh index 590481468..6d535fa26 100755 --- a/scripts/mobilecomponents.sh +++ b/scripts/mobilecomponents.sh @@ -14,17 +14,17 @@ if [ ! -d "$SRC/subsurface" ] || [ ! -d "qt-mobile" ] || [ ! -d "subsurface-core exit 1 fi -# now bring in the latest Plasma-mobile mobile components plus a couple of icons that we need +# now bring in the latest Kirigami mobile components plus a couple of icons that we need # first, get the latest from upstream # yes, this is a bit overkill as we clone a lot of stuff for just a few files, but this way # we stop having to manually merge our code with upstream all the time # as we get closer to shipping a production version we'll likely check out specific tags # or SHAs from upstream cd $SRC -if [ ! -d plasma-mobile ] ; then - git clone git://github.com/KDE/plasma-mobile +if [ ! -d kirigami ] ; then + git clone git://github.com/KDE/kirigami fi -pushd plasma-mobile +pushd kirigami git pull popd if [ ! -d breeze-icons ] ; then @@ -36,7 +36,7 @@ popd # now copy the components and a couple of icons into plae MC=$SRC/subsurface/qt-mobile/qml/mobilecomponents -PMMC=plasma-mobile/components/mobilecomponents +PMMC=kirigami/src BREEZE=breeze-icons rm -rf $MC -- cgit v1.2.3-70-g09d2