Qt, linux and everything

https://qtandeverything.blogspot.com/ (RSS)
visit blog
Qt6 Webassembly: QtMultimedia or, How to play a video in a web browser using Qt
10 Jul 2023 | original ↗

QtMultimedia in WebAssemblySince Qt 6.5.0, QtMultimedia has support for playing video in a QGraphicsVideoItem and QGraphicsScene, as well as recording from a camera. You can use Qt to play video, access the camera from a web browser, thus simplifying deployment.With anything WebAssembly, there are a few things that work differently from the...

Qt for WebAssembly on mobile devices
8 Mar 2022 | original ↗

Qt for WebAssembly on mobile devices, specifically phones, has lacked an essential feature - support for the native keyboard. It may or may not have worked. If it worked, it did not work very well. The tricky issue is opening the keyboard when needed and closing when it wasn't. There is no simple API for doing that on any platform we target -...

Qt WebAssembly clipboard
7 Jan 2022 | original ↗

var spector; var captureOnLoad = false; var captureOffScreen = false; window.__SPECTOR_Canvases = []; (function() { var __SPECTOR_Origin_EXTENSION_GetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.__SPECTOR_Origin_EXTENSION_GetContext = __SPECTOR_Origin_EXTENSION_GetContext; ...

Qt Multimedia has a new friend...
18 Aug 2021 | original ↗

var spector; var captureOnLoad = false; var captureOffScreen = false; window.__SPECTOR_Canvases = []; (function() { var __SPECTOR_Origin_EXTENSION_GetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.__SPECTOR_Origin_EXTENSION_GetContext = __SPECTOR_Origin_EXTENSION_GetContext; ...

Qt WebAssembly: prompt on exit
11 Jul 2021 | original ↗

var spector; var captureOnLoad = false; var captureOffScreen = false; window.__SPECTOR_Canvases = []; (function() { var __SPECTOR_Origin_EXTENSION_GetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.__SPECTOR_Origin_EXTENSION_GetContext = __SPECTOR_Origin_EXTENSION_GetContext; ...

(redux) Qt WebAssembly performance enhancement
12 Jun 2021 | original ↗

In my last post Qt WebAssembly performance enhancementthere were some impressive performance stat speedups. Unfortunately, as my collegue Morten pointed out, both builds were in debug mode. *sigh*So I rebuilt them in release mode, and added a few selected benchmarks from the Qt tests/benchmark source...

Qt WebAssembly performance enhancement
10 Jun 2021 | original ↗

var spector; var captureOnLoad = false; var captureOffScreen = false; window.__SPECTOR_Canvases = []; (function() { var __SPECTOR_Origin_EXTENSION_GetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.__SPECTOR_Origin_EXTENSION_GetContext = __SPECTOR_Origin_EXTENSION_GetContext; ...

Qt 6 WebAssembly QtQuick3d or, NOT April fools
3 Apr 2021 | original ↗

var spector; var captureOnLoad = false; var captureOffScreen = false; window.__SPECTOR_Canvases = []; (function() { var __SPECTOR_Origin_EXTENSION_GetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.__SPECTOR_Origin_EXTENSION_GetContext = __SPECTOR_Origin_EXTENSION_GetContext; ...

Qt 6 WebAssembly
22 Jan 2021 | original ↗

ahhh well now. We all know that in Qt6, qmake was ditched for cmake for the build system of Qt itself, and we are playing catch-up in the WebAssembly platform.HistoryFirst a little history of the Qt build system.tmake was a perl script that generates Makefiles. If I recall correctly, it was originally written by Sam Magnuson. (I am sure someone...

'wasm memory too small' Qt for WebAssembly
22 Jul 2020 | original ↗

var spector; var captureOnLoad = false; var captureOffScreen = false; window.__SPECTOR_Canvases = []; (function() { var __SPECTOR_Origin_EXTENSION_GetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.__SPECTOR_Origin_EXTENSION_GetContext = __SPECTOR_Origin_EXTENSION_GetContext; ...

Debugging Qt for WebAssembly
29 May 2020 | original ↗

Debugging is often difficult in the best of times. Debugging Qt webassembly apps in the web browser is not something I want to do on a nice summer day, and certainly makes a person more appreciative of mature, gui based debugging. But sometimes you have to do what you have to do. If you have a crash on your Qt for WebAssembly app, you would see a...

Qt on RaspberryPi
26 Mar 2020 | original ↗

Qt on RaspberryPi is really easy, but can be rather time consuming to build an image to run on raspberry pi with Qt 5. You can either do it up yourself manually grabbing the sources, tool chains, etc. You could also buy the Qt for device creation package which comes with great support, bells, whistles and commercial licensing, or build it...

QtWebAssembly updates Emscripten Requirement
23 Mar 2020 | original ↗

In the just released Qt 5.15-beta2 version, Qt for WebAssembly will require an Emscripten update from 1.38.27 to 1.39.8. Require because there are a few incompatible changes we needed in Qt. The update includes several improvements, including faster linking times, as Emscripten no longer has to transpile to javascript before it outputs wasm. It...

Qt WebAssembly faster builds
8 Jan 2020 | original ↗

Admittedly, building Qt WebAssembly apps takes what seems like forever. Technically, it is the linking part that takes a huge amount of time, as that is where the magic happens. You may have missed my first blog regarding faster build times for Qt WebAssembly apps:...

Aussie firestorms
6 Jan 2020 | original ↗

As some may know, I currently reside in Australia, which is undergoing an unprecedented bush fire season. Total burnt area is about the size of Demark, with no end in sight. Whole forests and towns are being incinerated. Millions of animals, both wild and farm are being killed and injured by the swiftly moving crown fire being whipped up by high...

AsteroidOS - the open source watch
28 Aug 2019 | original ↗

So I get a message regarding changes needed to Sensor Framework and QtSensors to add heart rate sensor support for AsteroidOS. AsteroidOS is an open source operating system for watches. It uses OpenEmbedded and Yocto to build the system image and kernel that you can flash to a small group of Android watches. The UI is based on Qt and Qml. I...

QMqtt & QWebAssembly
15 Aug 2019 | original ↗

Qt for WebAssembly is an exciting new platform for Qt. It means that Qt applications can run in a web browser. This means that deploying a Qt application is as easy as copying the files to your properly configured web server and handing out the url, for your users to run in their web browser. Mqtt is a machine to machine communication protocol,...

[Update] Faster link time for Qt WebAssembly
1 Jul 2019 | original ↗

The guys working on Emscripten have begun integrating the new llvm wasm backend into mainstream emscripten. Although it is still not the default, it is now heaps easier to install and use, as you no longer need to build llvm yourself. https://v8.dev/blog/emscripten-llvm-wasm The jist of it is: emsdk install latest-upstream emsdk activate...

Faster link time for Qt WebAssembly
7 Jun 2019 | original ↗

I have built Qt and various apps using emscripten so many times over the last couple of years, it isn't even funny. One detractor with building Qt applications for the web using Qt for WebAssembly, is the time it takes to build the client application. Especially during linking, it takes a huge amount of time to produce a binary for Qt...

exec on Qt WebAssembly
22 May 2019 | original ↗

When porting applications to Qt for WebAssembly, there are a few issues to keep in mind. One big issue is that you do not have a full operating system underneath for you to utilize. What you get is the same sandbox in which javascript lives. In some aspects, it is somewhat similar to a single-threaded microcontroller where there is just one...

Mobile and Embedded Development with Qt
3 May 2019 | original ↗

At times it was a bit painful juggling writing a book, doing my day job and running around doing the things that life throws. It's done and dusted now, you too can buy my book titled Hands-On Mobile and Embedded Development with Qt 5! It has a nice image of glacier ice on the cover, which I thought was appropriate for a technology founded in...

Qt for WebAssembly update
22 Nov 2017 | original ↗

The project Qt 5 emscripten that Intopalo (who are doing tons of amazing stuff with some awesome talent) started as research for a client, has moved git repos. The new main git repo has been moved to a branch in Qt proper! and a new name - Qt for WebAssembly. git://code.qt.io/qt/qtbase.git in the 'wip/webassembly' branch, and can be downloaded...

Qt for web (assembly)
5 Jun 2017 | original ↗

So ya, I have been doing work for the up and coming Finnish company Intopalo getting Qt5 for WebAssembly using emscripten up and running. This is the 3rd Finnish company I have done work for, and the 4th Nordic company (Trolltech, Nokia, Jolla, Intopalo) This is very much a work in progress. Background: There was a Qt4 version, emscripten-qt and...

new QtSensor IoT plugins!
4 May 2017 | original ↗

I've said it before and I will say it again... one thing I am tired of hearing about, is that people think Qt is only for UI applications. WRONG! Qt is great for IoT as well! even without a UI. (IoT is today's buzzword for 'embedded', which really isn't embedded, just small) and you cannot have IoT without sensors! I just submitted a MR to...

Movin' on...
7 Jan 2017 | original ↗

A year has gone by since I started work with Canonical. As it turns out, I must be on my way. Where to? Not real sure at this moment, there seems plenty of companies using Qt & QML these days. \0/ But saying that, I am open to suggestions. LinkedIn Plenty of IoT and devices using sensors around. Heck, even Moto Z phone has some great uses for...

↑ these items are from RSS. Visit the blog itself at https://qtandeverything.blogspot.com/ to find other articles and to appreciate the author's digital home.