Skip to content

nizovn/qt5-qpa-webos-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Qt5 QPA webOS plugin

Build requirements

  • Linux PC
  • PalmSDK

How to build Qt

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

mkdir /home/nizovn/webos/qt5/qt5.9
tar xvf qt-everywhere-opensource-src-5.9.5.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.8-2015.06-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

Apply required patches.

patch /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.5/qtwebengine/src/core/config/embedded_linux.pri files/embedded_linux.pri.patch
patch /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.5/qtbase/src/corelib/kernel/qcoreapplication.cpp files/qcoreapplication.cpp.patch
patch /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.5/qtbase/src/corelib/io/qstandardpaths_unix.cpp files/qstandardpaths_unix.cpp.patch
patch /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.5/qtbase/src/gui/opengl/qopengles2ext.h files/qopengles2ext.h.patch
patch /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.5/qtbase/src/network/ssl/qsslsocket_openssl.cpp files/qsslsocket_openssl.cpp.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.5
cd /home/nizovn/webos/qt5/qt5.9/qt-everywhere-opensource-src-5.9.5
./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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published