Qt Applications as Browser Applets

Dec 21, 2009

"Qt Everywhere" is the motto of Nokia's GUI toolkit smiths. Now developer Morten Sorvig has transplanted Qt apps into the Firefox browser.

Nokia's Sorvig is using Google's Native Client (NaCl) technology for the purpose. The browser plugin executes native code, currently on 32-bit Intel systems. Because running code on the web provides certain security risks, NaCl uses a sandbox model that applies similar security rules to the code as the browser does for JavaScript.

Sorvig ported fundamental parts of Qt to NaCL and brought the first Qt demo applications to Firefox, such as the wiggly widget. His blog entry, "Take it with a grain of salt" (a pun on the NaCl name), also shows a Qt elastic nodes example in a video.

Source code from Qt for NaCl is under LGPL and ready for download from the Gitorius repository.

Related content

comments powered by Disqus

Issue 268/2023

Buy this issue as a PDF

Digital Issue: Price $12.99
(incl. VAT)

Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs