LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Michael Uplawski
User Name
Password

Notices


Programming and creativity I need a category for a blog-entry. It is about programming, but as I am beginning to fall foul of technology, have to append something useful to the title.
Old

Avif support for Qt – How it appears to work

Posted 01-20-2024 at 02:58 AM by Michael Uplawski
Updated 01-20-2024 at 02:39 PM by Michael Uplawski (Too many $ and stuff)

0.) Install libavif-dev
1.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ git clone https://github.com/novomesk/qt-avif-image-plugin.git
2.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ cd qt-avif-image-plugin/
3.)
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ ./build_libqavif_dynamic.sh
If you do not get a
Quote:
SUCCESS! in order to install libqavif.so type as root:
make install
, then do whatever is necessary before...
Attached Images
File Type: jpg sc.jpg (83.9 KB, 9 views)
Senior Member
Views 86 Comments 0 Michael Uplawski is offline
Old

Post processor script for flnews

Posted 04-15-2023 at 03:14 AM by Michael Uplawski
Updated 03-30-2024 at 03:47 AM by Michael Uplawski (new Ruby-Gem as of november 2023)

flnews_post_proc-1.39.gem


The page describing the current Ruby-Gem: http://www.uplawski.eu/div/flnews/ge...post_proc.html
The Download-page for the current Ruby-Gem for the post-processor which includes the configuration-file:
https://www.rubygems.org/gems/flnews_post_proc

30/03/2024:
The Ruby-Gem has advanced a lot, recently and what follows, is the equivalent of the man-page for version 1.39, transformed to markdown...
Attached Images
File Type: jpg lq_sc_flnews.jpg (183.7 KB, 16 views)
File Type: png lq_th_sc_flnews.png (16.2 KB, 114 views)
Senior Member
Views 731 Comments 0 Michael Uplawski is offline
Old

Qt: Embedding Translations in the program-file

Posted 03-29-2023 at 02:41 PM by Michael Uplawski
Updated 03-30-2024 at 04:49 AM by Michael Uplawski (German version, French version)


Embedding translations in Qt-programs



Introduction

Several techniques allow the internationalization of Qt -program.
I have worked out the procedure explained on this page, to embed translations in an executable file, so that they will be immediately available without having to keep
...
Attached Images
File Type: jpg lq_sc_upsslideshow.jpg (199.1 KB, 10 views)
File Type: png lq_th_sc_upsslideshow.png (10.9 KB, 112 views)
Senior Member
Views 253 Comments 0 Michael Uplawski is offline
Old

Obsolete: xpath / Nokogiri: Find all nodes in a SVG path.

Posted 06-09-2022 at 02:41 PM by Michael Uplawski
Updated 11-24-2023 at 11:44 PM by Michael Uplawski (Code examples updated, comments are better, too, French2English (this is awkward – am I losing my German?))

In an attempt to render Hyperlinks in SVG more comfortable, I had begun to enlarge the mouse-sensitive area around a linked content by creating a transparent rectangle around the link.

In the meantime, other techniques are swifter applied and probably easier used in a scripted routine.

This is historical, now. For your inspiration, the original blog-post:
------------------------------------------------------------------------------

Work in Progress....
Senior Member
Views 646 Comments 1 Michael Uplawski is offline
Old

Ruby: reading from STDIN, if there is something to read.

Posted 09-25-2021 at 01:11 AM by Michael Uplawski
Updated 10-08-2021 at 11:49 PM by Michael Uplawski (Category)

The logic of ARGV and ARGF still escapes me, I am approaching perfection empirically by trial, error and surrender. Now I believe to do stuff the right way, which is highly unsatisfactory.

Today's sura goes like this:

To avoid a hanging program, when there are no data waiting at STDIN, thou shalt write
Code:
if !STDIN.tty?
  # do as you must
end
tty meaning “teletype-writer”, it stands for terminal/console/pseudo-terminal and the like....
Senior Member
Views 624 Comments 0 Michael Uplawski is offline

  



All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration