Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Notes on packaging Krita with G’MIC

    Krita 3 and later are compatible with G’MIC, an open-source digital image processing framework. This support is provided by G’MIC-Qt, a Qt-based frontend for G’MIC. Since its inception, G’MIC-Qt was shipped as a standalone, externally built executable that is an optional, runtime dependency of Krita.

    Krita 5 changes the way G’MIC-Qt is consumed. In order to support CentOS and macOS, G’MIC-Qt has been converted into a dynamically loadable library that is a dependent of Krita.

    This file reviews these changes, and how to package Krita accordingly.

  • Qt WebAssembly clipboard

    Clipboard use on desktop platforms is ubiquitous. Most people use it without thinking. Copy, Paste, and Cut keyboard strokes are in-grained into muscle memory.
    On the web, it can present security issues as someone could read or write to your clipboard without you knowing.

    Up until now, Qt for WebAssembly's clipboard was text-only and only within the app itself. Qt 6.3 will have better clipboard support between host and app but also adds copy/pasting of images.

  • Attempting to compile Shotcut video editor
  • The Numbers: Performance benefits of the new Qt Quick Compiler

    In my previous post, the history and general architecture of the new Qt Quick Compiler technology was explained. As promised there, the performance numbers are presented in this post.

  • Monetizing cross-platform use cases faster and easier with Qt Digital Advertising Platform

    Many of you have been raising the question: when will Qt provide a full framework to monetize my Qt-based cross-platform application, implementing an advertising campaign directly on my user interface?

    Now all the community and Qt users in general can start in no time implementing and managing advertising campaigns targeting cross-platform use cases. We are excited to announce that Qt Digital Advertising 1.0 has been released!

  • Ads may be coming to KDE, the popular Linux desktop [Ed: Misleading clickbait. KDE and #Qt are not the same thing]
  • Qt Launches Digital Advertising Platform To Integrate Ads Into App UIs

    The Qt Company this morning announced Qt Digital Advertising 1.0 as its new ad platform that allows for developers to easily integrate advertising campaigns into Qt-based, cross-platform applications.

    The Qt Company devised Qt Digital Advertising as a way for the community and Qt users to integrate and manage advertising campaigns within Qt-powered programs. This is a new plug-in for the Qt toolkit for managing and monetizing campaigns for any Qt-based application.

  • Parsing PNGs Differently | Hackaday

    There are millions of tiny bugs all around us, in everything from our desktop applications to the appliances in the kitchen. Hidden, arbitrary conditions that cause unintended outputs and behaviors. There are many ways to find these bugs, but one way we don’t hear about very often is finding a bug in your own code, only to realize someone else made the same mistake. For example, [David Buchanan] found a bug in his multi-threaded PNG decoder and realized that the Apple PNG decoder had the same bug.

    PNG (Portable Network Graphics) is an image format just like JPEG, WEBP, or TIFF designed to replace GIFs. After a header, the rest of the file is entirely chunks. Each chunk is prepended by a four-letter identifier, with a few chunks being critical chunks. The essential sections are IHDR (the header), IDAT (actual image data), PLTE (the palette information), and IEND (the last chunk in the file). Compression is via the DEFLATE method used in zlib, which is inherently serial. If you’re interested, there’s a convenient poster about the format from a great resource we covered a while back.

More in Tux Machines

GNOME Development Outline and Google Summer of Code (GSoC) 2022

  • #45 Timeout! · This Week in GNOME

    Update on what happened across the GNOME project in the week from May 20 to May 27.

  • Selected for GSoC'22

    I'm pleased to share that I'm accepted for Google Summer of Code (GSoC) 2022 under GNOME Foundation umbrella on the Pitivi project. This summer I will be updating the project from GTK3 to the latest GTK4 toolkit. To anyone that wants to be a part of GSoC, I have only one piece of advice, just go for it. Don't think if you can do it or not, don't assume failure before attempting, and don't overthink. I always felt that it is for the best of the best, and I won't be able to clear it, all the big organizations on the GSoC page overwhelmed me, but instead of making it a dream, I made it a life goal. And well, now I'm enjoying it.

Top 10 GNOME Themes for Your Ubuntu Desktop

A list of nice and clean GNOME themes with screenshots for your Ubuntu desktop in 2022 which you can download and install. Read more

lavapipe Vulkan 1.2 conformant

The software Vulkan renderer in Mesa, lavapipe, achieved official Vulkan 1.2 conformance. The non obvious entry in the table is here. Thanks to all the Mesa team who helped achieve this, Shout outs to Mike of Zink fame who drove a bunch of pieces over the line, Roland who helped review some of the funkier changes. Read more

3100 Games On The Steam Deck with Strider and Samorost 2 as Verified

While the additions are progressing, it’s been a little slower to reach the new milestone for the Steam Deck. There are now more than 3100 games validated (3120 games to be precise at the time of writing) on the Steam Deck – in two categories as usual... Read more