Qt/QML vs HTML5/AngularJS User Interfaces Showdown (Video)

We now live in a world where there’s a push for higher level programming languages either based on web technologies like HTML5 or JavaScript, or other interpreted languages such as Python, and lower level languages such as C, C++, or – maybe more understandably – Assembler are often avoided by newcomers. But there are advantages of using native code, as demonstrated by Sequality, a software engineering company, who asked a developer familiar with HTML and C++ to develop a demo of an embedded systems using HTML5 + AngularJS and Qt/QML. The developer had 160 hours to develop the user interface for each framework, and with the resulting demos running on a Raspberry Pi 3 board with Raspbian, it was found that the Qt/QML implementation delivered a more responsive and functional user interface compared to the HTML5 version which tended to lag, and lacked support for touchscreen and a software keyboard by default. The developer also reported that the testing and …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Future Versions of Ubuntu To Feature Mir Display Server Compatible With Android Graphics Drivers

The X server is getting old, and many developers complain it’s not an optimal solution anymore due to its (over) complexity, which was why Wayland was developed. However, it turns out Ubuntu will not use Wayland, but instead their own display server called Mir which will be used in all form factors from phones to desktops. Phoronix has provided a quick summary about the key aspects of Mir: Mir is a new display server being developed at Canonical and it is not based on X.Org or Wayland. Android graphics drivers will be supported. Existing DRM/KMS/Mesa/GBM (the open-source Linux graphics drivers) will work. Canonical is pressuring the binary blob vendors to make their drivers compatible. There will be support for legacy X11 applications through an integrated root-less X.Org Server. Canonical will natively support GTK3 and Qt/QML toolkits with Mir. Mir will be used for all form factors from Ubuntu Phones to the Ubuntu Linux desktop. Mir should be ready for Ubuntu …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Sailfish OS SDK Alpha Release Is Now Available for Linux

Sailfish OS is a new mobile operating system based on the Qt platform that will soon end-up in mobile phone near you. Until now it was possible to build the SDK yourself, but it was pretty challenging since the documentation was lacking, as Jolla, the company behind Sailfish OS, focused on development. The good news is that you don’t need to build the SDK yourself anymore, since Jolla has just released Sailfish SDK Alpha for Linux 32-bit & 64-bit, and Windows & Mac OS versions will come later. You’ll need a computer that meet the following requirements: A host machine running a Linux operating system Oracle’s VirtualBox version 4.1.18 or higher pre-installed on the host machine. About 5GB of free disk space 4GB of RAM or more is recommended You can get started in two steps: Install the SDK – Download the 32 bit or 64 bit Linux installer. (~650 MB), change the permissions, and run it to complete the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Qt on Embedded Systems – ELCE 2012

Lars Knoll, chief maintainer for the Qt Project, gives a presentation about Qt on embedded systems, including a demo with the Raspberry Pi at the Embedded Linux Conference Europe 2012 in Barcelona, Spain. Abstract: For well over 10 years, Qt has been used in many types of embedded devices, ranging from high-end medical systems, through mobile phones and smartphones, all the way to simple devices like coffee makers. This presentation will show some of the work that has been put in Qt throughout the years to support embedded devices, some of the challenges that the development team faced in order to bring a fully-featured desktop toolkit to resource-limited devices, along with solutions they came up with. Time permitting, the presenter will also show Qt demos running on an embedded device. This session is intended for embedded application developers looking to make use of the capabilities of recent hardware, as well as decision makers looking for technology to enable their product …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Canonical Announces Ubuntu for Phones

Canonical has just announced the Ubuntu for Phones platform that will allows users to have similar experience on desktops (Ubuntu Desktop),  TVs (Ubuntu TV) and smartphones, avoiding the need to learn 2 different platform for the desktop and mobile devices. The user interface replaces the “Lock screen” with the “Welcome screen”  (As shown in the middle of the picture above), which shows notifications and user data as you turn on your device. The user interface mostly eliminate buttons, and you can access features by swiping the edge of the phone. A swipe on the left edge will show the dash bar, giving access to most used apps and dash search, a swipe on the right edge will cycle through your opened apps, a swipe at the top will give access to notifications and allow changing settings right from there, and a swipe at a button will allow you to customize controls. Global search is also part of the OS, as …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Color Converter for Nokia Symbian Anna / Belle

I’ve developed a small Qt Quick application called ColorConv that can convert RGB color to HEX color used in HTML pages (e.g. 255,255,255 -> #FFFFFF) and vice versa mainly to play with Qt Creator QML and test Nokia Ovi Store application submission process. You can enter the Red, Green, Blue values manually by typing with the default numerical keypad in Symbian or use the slider to select the value. Alternatively you can enter the hexadecimal code to get the RGB value. If you are interested, you can download it in Ovi Store and in case you have some requests please comment on the support page. Nokia Ovi Store Submission Process Nokia submission process is almost free (1 Euro) and it took about 2 weeks to get my application published. I basically followed the instructions given on submit Qt applications to the Ovi Store PDF. The first thing you have to do is to register at Ovi Publish and pay 1 …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Qt Quick QML Digital Signage Demo Part 2

Following up on Qt Quick QML Digital Signage Demo Part 1, I’ve updated the digital signage demo to support the following: Play 5 videos in a loop Display 5 pictures in a loop where the picture is changed every 5 seconds Use a (twitter) RSS feed for the scrolling text I initially planned to use QML to list the media files, but it is apparently not possible without using C/C++ and I may do it later on. So instead, I hard-coded the video and picture playlists in the QML files with the ListModel element. Videos are located in the video directory and pictures in the pic folder. An index is needed to scroll thru the playlist, but QML does not support global variables, so I created a JavaScript file (globals.js) to store the video and picture index: // Global variables in JavaScript file var iVideoIndex = 0 var iPicIndex = 0 Then imported the script at the top of main.qml: …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Qt Quick QML Digital Signage Demo Part 1

I’ve recently started to play around with Qt and since I’d like to do a digital signage player running on Raspberry Pi, I’ve decided to try to make a simple digital signage demo application to evaluate the development platform. In Part 1, my goal was to make a 3 zones layout with a video zone, a picture zone and a scrolling text zone. I would just play one hard-coded media in each zone and the video and scrolling text would have to continuously loop. I used Qt Creator to create  a “Pigital Signage” application (or should it be Πgital Signage ?). To create the 3 zones I used the Gridview Element with 3 rectangles: Video zone: 600×432 Picture zone: 200×432 Text zone: 800×48 Displaying the image is very easy with the Image Element: The video playback was also supposed to be easy with the Video Element but it can not work on Desktop, so I had to revert to used …

Support CNX Software – Donate via PayPal or become a Patron on Patreon