Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Build Qt for Tizen Developer Device: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(removed from needless category (only article in category))
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=How to build Qt 4.8.1 for Tizen 1.0 Larkspur on RD-210=
[[Category:HowTo]]
{{WarningBox|text=This article seems outdated. Please feel free to update it and then remove this remark.}}
== 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.


==Overview==
== Steps to perform ==
 
# Install SBS: https://source.tizen.org/documentation/developer-guide/getting-started-guide/cloning-tizen-source
This article demonstrates how to build Qt 4.8.1 in Scratchbox2 (“<span class="caps">SBS</span>”) 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 SDK: https://developer.tizen.org/downloads/tizen-sdk (alternatively, get "sdb" through some other means)
 
# Get the Qt sources: http://download.qt.io/official_releases/qt/4.8/4.8.6/
==How-to==
# Unpack the sources somewhere: tar xzvf qt-everywhere-opensource-src-4.8.6.tar.gz
 
# Run "sbs -e" and then run "./configure -opensource -confirm-license" inside the extracted folder
# Install <span class="caps">SBS</span>: https://source.tizen.org/platform/development-sbs
# Install the Tizen <span class="caps">SDK</span>: 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: make
# Run: mkdir tmp &amp;&amp; <span class="caps">INSTALL</span>_ROOT=$(pwd)/tmp/ make install
# Run: mkdir tmp && INSTALL_ROOT=$(pwd)/tmp/ make install
# Pack up everything: cd tmp &amp;&amp; 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/
# Get a shell and extract it: sdb shell &amp;&amp; tar xzvf /root/qt_tizen.tgz -C /
# 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
 
==References==
 
[http://tizentalk.com/forum/threads/build-qt-4-8-1-for-the-tizen-developer-device.4/ Build Qt 4.8.1 for the Tizen Developer Device] ''[tizentalk.com]''
 
===Categories:===


* [[:Category:HowTo|HowTo]]
After that, you should be able to run it using /usr/local/Trolltech/Qt-4.8.6/bin/qtdemo

Latest revision as of 00:41, 25 May 2015

This article seems outdated. Please feel free to update it and then remove this remark.

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.

Steps to perform

  1. Install SBS: https://source.tizen.org/documentation/developer-guide/getting-started-guide/cloning-tizen-source
  2. Install the Tizen SDK: https://developer.tizen.org/downloads/tizen-sdk (alternatively, get "sdb" through some other means)
  3. Get the Qt sources: http://download.qt.io/official_releases/qt/4.8/4.8.6/
  4. Unpack the sources somewhere: tar xzvf qt-everywhere-opensource-src-4.8.6.tar.gz
  5. Run "sbs -e" and then run "./configure -opensource -confirm-license" inside the extracted folder
  6. Run: make
  7. Run: mkdir tmp && INSTALL_ROOT=$(pwd)/tmp/ make install
  8. Pack up everything: cd tmp && tar czvf ../qt_tizen.tgz *
  9. Copy it to the device: sdb push ../qt_tizen.tgz /root/
  10. 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.6/bin/qtdemo