Contents |
Build only. No deployment as of yet.
git clone ssh://git@git.meego.com/otc-components
diff --git a/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro b/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro index cf05e7d..7c4a5ef 100644 --- a/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro +++ b/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro @@ -3,7 +3,10 @@ TEMPLATE = subdirs TARGET = meego-ux-widgetgallery qmlfiles.files += *.qml images/ -qmlfiles.path += $$INSTALL_ROOT/usr/share/$$TARGET +#qmlfiles.path += $$INSTALL_ROOT/usr/share/$$TARGET + +# workaround for INSTALL_ROOT not finding my sysroot +qmlfiles.path += $$[QT_INSTALL_IMPORTS]/../../../../usr/share/$$TARGET INSTALLS += qmlfiles
diff --git a/src/src.pro b/src/src.pro index 45b3e33..550402f 100644 --- a/src/src.pro +++ b/src/src.pro @@ -57,4 +57,8 @@ HEADERS += \ qmldir.files += $$QML_SOURCES qmldir.path += $$[QT_INSTALL_IMPORTS]/MeeGo/Components -INSTALLS += target qmldir + +debug_source.files += $$SOURCES $$HEADERS +debug_source.path += $$[QT_INSTALL_IMPORTS]/MeeGo/Components/src + +INSTALLS += target qmldir debug_source
Please un-check shadow build
Build -> Build All
Screenshot showing the current sysroot in Qt Creator
sudo make install
this copies the files that need to be on your device or emulator to the sysroot
(Here are the non-network instructions) mic-chroot to the Tablet 3/25 sysroot
Ex. sudo mic-chroot -v /usr/lib/madde/linux-i686/sysroots/meego-tablet-ia32-oss-madde-sysroot-1.1.90.8.20110323.1-fs
cd to root of the sysroot
cd / tar cvfz widget-gallerly.tgz usr/lib/qt4/imports/MeeGo/Components/ usr/share/meego-ux-widgetgallery
cd / tar xvfz <some-dir-on-device>/widget-gallerly.tgz
make sure you're logged in as user meego, NOT root meego-qml-launcher --opengl --fullscreen --app meego-ux-widgetgallery