Results 1 to 3 of 3
Like Tree7Likes
  • 6 Post By NIN_ru
  • 1 Post By dkirker
  1.    #1  
    Qt5 webOS SDK (5.9.5-0)
    Description:
    qt5-webos-sdk is a set of tools needed to compile qt5 applications for webOS devices. It contains linaro cross-compilation toolchain, Qt5 framework libraries and host tools, necessary libraries for compilation for webOS devices. Applications compiled using this SDK will have to depend on com.nizovn.qt5sdk package, which set up required environment in jailer for applications to run properly. Applications will have to specify "qt5sdk" property in their appinfo.json file.

    Requirements:
    • Linux amd64 PC
    • PalmSDK


    Download:
    qt5-webos-sdk/tags

    Sources:
    https://gitlab.com/nizovn/qt5-webos-sdk
    https://gitlab.com/nizovn/com.nizovn.qt5sdk

    Installation:
    This SDK can be installed on Ubuntu/Debian based distrubutions using deb package:
    Code:
    sudo dpkg -i qt5-webos-sdk_5.9.5-0.deb
    Or, on any distrubition by unzipping tar.xz archive into any directory, and adjusting corresponding paths in qt5/host/bin/qt.conf and QT5_WEBOS_PATH variable in qt5/host/mkspecs/linux-webos-arm-gnueabi-g++/qmake.conf file.

    Example of building demo application:
    Code:
    git clone https://code.qt.io/qt-labs/qt5-everywhere-demo.git
    cd qt5-everywhere-demo/QtDemo
    qmake-webos
    make
    Now the resulted QtDemo binary can be packages using this appinfo.json:
    Code:
    {
    	"title": "QtDemo",
    	"id": "com.qt.qtdemo",
    	"version": "1.0.0",
    	"release_date": "21-July-2018",
    	"vendor": "N/A",
    	"type": "pdk",
    	"icon": "icon.png",
    	"main": "QtDemo",
    	"qt5sdk": {}
    }
    and this package.properties:
    Code:
    filemode.755 = QtDemo
    Code:
    mkdir STAGING
    cp QtDemo appinfo.json package.properties STAGING/
    cp QtDemo64.png STAGING/icon.png
    palm-package STAGING/
    Notes:
    • If you are going to use qtwebengine, you will probably need to use software rendering, by adding required exports to appinfo.json, e.g.:
      Code:
              "qt5sdk": {
                      "exports": [
                              "QMLSCENE_DEVICE=softwarecontext", 
                              "QT_QPA_WEBOS_RIGHT_CLICK_ON_LOGN_TAP=1" 
                      ]
              }
      This exports will enable software rendering and emulation or right mouse clicks on long taps, needed for desktop applications.
    • There is currently a bug with broken fonts when using hw rendering, so you will probably want to enable software rendering in any app.
    • Popup menus don't work with hw rendering too.
    • com.nizovn.qt5sdk package must be installed on device. It can be installed through Preware from nizovn/preware_feed.


    Changelog:
    5.9.5-0: Initial release
  2. #2  
    Quote Originally Posted by NIN_ru View Post
    Requirements:
    • Linux amd64 PC
    • PalmSDK

    Does it have to be AMD? I'm guessing not.

    Links to download the Palm SDKs are here: Looks like you can't get the SDK anymore (almost) - webOS Nation Forums
    The HOSTS file fixes will be needed to download: Tip: Edit Your Hosts File for Access to Old Palm Servers | pivotCE
    Last edited by Preemptive; 07/24/2018 at 06:53 AM.
  3. #3  
    Quote Originally Posted by Preemptive View Post
    Does it have to be AMD? I'm guessing not.
    amd64 is the same as x86_64. Just different names for the same thing.
    Did you know:

    webOS ran on a Treo 800 during initial development.
    Preemptive likes this.

Similar Threads

  1. Replies: 1
    Last Post: 07/12/2018, 07:11 AM
  2. ROS2 on WebOS
    By ggendel in forum Open webOS General Discussion
    Replies: 2
    Last Post: 07/04/2018, 07:08 AM
  3. LG webos remote app crashing randomly on my s7
    By craigomez in forum webOS Apps & Games
    Replies: 1
    Last Post: 06/27/2018, 01:58 AM
  4. LG SK7900 49 will get update to WebOS 4?
    By Yossi Yosef in forum LG webOS TV
    Replies: 0
    Last Post: 06/17/2018, 11:10 AM
  5. webOS Fans Discord Server
    By danPixl in forum General News & Discussion
    Replies: 0
    Last Post: 06/04/2018, 07:14 PM

Posting Permissions