(How to build otc-components (using as much of the MeeGo SDK as possible)) |
|||
| Line 2: | Line 2: | ||
Build only. No deployment as of yet. | Build only. No deployment as of yet. | ||
| - | + | === Get the source code to the meego-ux-components === | |
| - | <pre> git clone | + | <pre>git clone git://meego.gitorious.org/meego-ux/meego-ux-components</pre> |
| - | + | === Patch for examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro === | |
<pre> | <pre> | ||
diff --git a/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro b/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro | diff --git a/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro b/examples/meego-ux-widgetgallery/meego-ux-widgetgallery.pro | ||
| Line 24: | Line 24: | ||
</pre> | </pre> | ||
| - | + | === Patch for src/src.pro === | |
<pre> | <pre> | ||
diff --git a/src/src.pro b/src/src.pro | diff --git a/src/src.pro b/src/src.pro | ||
| Line 42: | Line 42: | ||
</pre> | </pre> | ||
| - | + | === Open this project with Qt Creator and choose the Tablet build from 3/26/11 for the build environment === | |
Please un-check shadow build | Please un-check shadow build | ||
| Line 52: | Line 52: | ||
== Now you have to drop out of the SDK to complete the task... == | == Now you have to drop out of the SDK to complete the task... == | ||
| - | + | === In the otc-components source directory === | |
<pre>sudo make install</pre> | <pre>sudo make install</pre> | ||
this copies the files that need to be on your device or emulator to the sysroot | this copies the files that need to be on your device or emulator to the sysroot | ||
| - | + | === Now you have to get these files to your device. === | |
(Here are the non-network instructions) | (Here are the non-network instructions) | ||
mic-chroot to the Tablet 3/25 sysroot | mic-chroot to the Tablet 3/25 sysroot | ||
| Line 68: | Line 68: | ||
</pre> | </pre> | ||
| - | + | === Copy this tar file to your device and cd to / on your device and untar === | |
| - | + | ||
<pre> | <pre> | ||
cd / | cd / | ||
| Line 75: | Line 74: | ||
</pre> | </pre> | ||
| - | + | === Now run the widget gallery === | |
<pre> | <pre> | ||
make sure you're logged in as user meego, NOT root | make sure you're logged in as user meego, NOT root | ||
Contents |
Build only. No deployment as of yet.
git clone git://meego.gitorious.org/meego-ux/meego-ux-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