Build Qt for Tizen Developer Device: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:HowTo]] | |||
== | [toc align_right="yes" depth="2"] | ||
= How to build Qt 4.8.1 for Tizen 1.0 Larkspur on RD-210 = | |||
== | == Overview == | ||
# Install | This article demonstrates how to build Qt 4.8.1 in Scratchbox2 ("SBS") and copy the files over to Tizen 1.0 Larkspur Ref.Device-210 (RD-210) for testing. Be aware that this does not include any source code changes, so the build might still need lots of work (and porting) for it to become fully usable. | ||
# Install the Tizen | |||
== How-to == | |||
# Install SBS: https://source.tizen.org/platform/development-sbs | |||
# Install the Tizen SDK: https://developer.tizen.org/sdk (alternatively, get "sdb" through some other means) | |||
# Get the Qt sources: http://releases.qt.io/qt4/source/qt-everywhere-opensource-src-4.8.1.tar.gz | # Get the Qt sources: http://releases.qt.io/qt4/source/qt-everywhere-opensource-src-4.8.1.tar.gz | ||
# Unpack the sources somewhere: tar xzvf qt-everywhere-opensource-src-4.8.1.tar.gz | # Unpack the sources somewhere: tar xzvf qt-everywhere-opensource-src-4.8.1.tar.gz | ||
# Run | # Run "sbs -e" and then run "./configure -opensource -confirm-license" inside the extracted folder | ||
# Run: make | # Run: make | ||
# Run: mkdir tmp && | # Run: mkdir tmp && INSTALL_ROOT=$(pwd)/tmp/ make install | ||
# Pack up everything: cd tmp && tar czvf ../qt_tizen.tgz * | # Pack up everything: cd tmp && tar czvf ../qt_tizen.tgz * | ||
# Copy it to the device: sdb push ../qt_tizen.tgz /root/ | # Copy it to the device: sdb push ../qt_tizen.tgz /root/ | ||
Line 20: | Line 24: | ||
After that, you should be able to run it using /usr/local/Trolltech/Qt-4.8.1/bin/qtdemo | After that, you should be able to run it using /usr/local/Trolltech/Qt-4.8.1/bin/qtdemo | ||
==References== | == References == | ||
Revision as of 10:26, 24 February 2015
[toc align_right="yes" depth="2"]
How to build Qt 4.8.1 for Tizen 1.0 Larkspur on RD-210
Overview
This article demonstrates how to build Qt 4.8.1 in Scratchbox2 ("SBS") and copy the files over to Tizen 1.0 Larkspur Ref.Device-210 (RD-210) for testing. Be aware that this does not include any source code changes, so the build might still need lots of work (and porting) for it to become fully usable.
How-to
- Install SBS: https://source.tizen.org/platform/development-sbs
- Install the Tizen SDK: https://developer.tizen.org/sdk (alternatively, get "sdb" through some other means)
- Get the Qt sources: http://releases.qt.io/qt4/source/qt-everywhere-opensource-src-4.8.1.tar.gz
- Unpack the sources somewhere: tar xzvf qt-everywhere-opensource-src-4.8.1.tar.gz
- Run "sbs -e" and then run "./configure -opensource -confirm-license" inside the extracted folder
- Run: make
- Run: mkdir tmp && INSTALL_ROOT=$(pwd)/tmp/ make install
- Pack up everything: cd tmp && tar czvf ../qt_tizen.tgz *
- Copy it to the device: sdb push ../qt_tizen.tgz /root/
- Get a shell and extract it: sdb shell && tar xzvf /root/qt_tizen.tgz -C /
After that, you should be able to run it using /usr/local/Trolltech/Qt-4.8.1/bin/qtdemo