Giter VIP home page Giter VIP logo

qt5-qpa-webos-plugin's Introduction

Qt5 QPA webOS plugin

Build requirements

  • Linux PC
  • PalmSDK

How to build Qt

Download Qt sources (qt-everywhere-opensource-src-5.9.1.tar.xz) from official site and untar it somewhere.

mkdir /home/nizovn/webos/qt5/qt5.9
tar xvf qt-everywhere-opensource-src-5.9.1.tar.xz -C /home/nizovn/webos/qt5/qt5.9

Download and untar gcc cross toolchain (gcc-linaro-4.8-2015.06-x86_64_arm-linux-gnueabi.tar.xz) from linaro site.

tar xvf gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabi.tar.xz -C /home/nizovn/webos/qt5/qt5.9

Copy files/linux-webos-arm-gnueabi-g++ directory to qt-everywhere-opensource-src-5.9.1/qtbase/mkspecs. Edit QT5_WEBOS_PATH variable in qmake.conf to your directory.

Copy libraries and headers required for building Qt.

cp -Rf files/device /home/nizovn/webos/qt5/qt5.9

Patch qtwebengine to disable udev support.

patch /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.1/qtwebengine/src/core/config/embedded_linux.pri files/embedded_linux.pri.patch

Copy configure script (adjust build directory path) into Qt directory and execute it.

cp files/configurePalmHD.5.9.sh /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.1
cd /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.1
./configurePalmHD.5.9.sh

Build Qt.

make -j8
make install

How to build webos plugin

cd webos
/home/nizovn/webos/qt5/qt5.9/runtime/host/bin/qmake -o Makefile webos.pro
make
make install

qt5-qpa-webos-plugin's People

Contributors

nizovn avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.