README 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Tizen Build Tools - README
  2. --------------------------
  3. Qt for Tizen is a purely community-driven port of Qt 5 to the Tizen mobile profile.
  4. Tizen IVI profile as well as unofficial Netbook/Notebook profiles would benefit too.
  5. Home page: http://qt-project.org/wiki/Tizen
  6. ===== Info ====
  7. This repository helps to build Qt for Tizen for 3 targets:
  8. * desktop
  9. * device (Tizen developer device - arm architecture)
  10. * emulator (Tizen SDK emulator - i386 architecture)
  11. You need to have Tizen SDK (https://developer.tizen.org/downloads/tizen-sdk)
  12. installed if you want to build Qt for emulator or device. Desktop version
  13. doesn't need that.
  14. ===== Building process =====
  15. Each directory contains main donwloadAndBuildAll.sh script
  16. created to conveniently build Qt fairly automatically.
  17. All steps coded there can be also performed manually by advanced users.
  18. In short downloadAndBuildAll.sh clones the qt5 repository from gitorious,
  19. (assuming you did not set the QT5SRCDIR variable). Then it switches
  20. qtbase, qtquickcontrols, qtsensors repositories to a wip/tizen branch,
  21. clones qtquickcontrols-tizen repository in Qt sources directory (wip/tizen branch).
  22. Warning 1!
  23. After this step the mentioned wip/tizen branches are not updated (git pull).
  24. To update just do it by hand or remove Qt sources directory and
  25. let the script to clone it once again.
  26. By default Qt sources are cloned to qt5.gitorious directory under desktop,
  27. device or emulator directories.
  28. In case of device or emulator build, downloadAndBuildAll.sh also downloads
  29. Tizen packages and prepares rootfs for cross compilation by unpacking them into
  30. rootfs directory. Just run script without parameters to see some useful tips.
  31. Warning 2!
  32. If you for example built Qt Tizen for desktop and want to build it for emulator
  33. export absolute path,
  34. set QT5SRCDIR=/home/user/your/tizenbuildtools/directory/desktop/qt5.gitorious
  35. before running emulator/downloadAndBuildAll.sh to avoid cloning Qt sources again
  36. in the emulator directory.
  37. Qt's default shadow build directory is buildQt5 in corresponding desktop, device or
  38. emulator directories.
  39. In case of device or emulator Qt's default install dir is /opt/usr/apps/Qt5Install
  40. under the rootfs directory. So when you build Qt for emulator it will be installed in
  41. tizenbuildtools/emulator/rootfs/opt/usr/apps/Qt5Install
  42. In case of desktop Qt is installed by default in desktop/qt5hostInstall
  43. directory.
  44. By default development tools such as qmake are installed in qt5hostInstall/bin
  45. subdirectory of corresponding desktop, device or emulator directory.