LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Michael Uplawski
User Name
Password

Notices


Incomprehension and Antagonism About the inertia of misguided convictions.
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

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

spellcheck in qutebrowser

Posted 12-28-2021 at 02:43 AM by Michael Uplawski
Updated 12-28-2021 at 02:45 AM by Michael Uplawski

If you want to set a spellcheck dictionary for the running session, type
Code:
:set spellcheck.languages ['en-US'] 
:set spellcheck.languages ['en-US', 'de-DE']
:set spellcheck.languages ['en-US', 'de-DE', 'fr-FR']
for only one or several languages at once.

To persist these settings, open config.py and add something like:
Code:
# Spellcheck
config.set('spellcheck.languages', ["en-US", "fr-FR", "de-DE"])
Found...
Senior Member
Views 1245 Comments 5 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
Old

False statement

Posted 03-23-2021 at 12:57 AM by Michael Uplawski
Updated 12-06-2021 at 07:14 AM by Michael Uplawski

I just modified my comment to one of my own blog-entries but now feel that it is itself worth an entry.

If it sticks it may be sticky. Avoid.
This comment contained a false statement. I have to leave it here and mark it as false, because it is frequently repeated in a pseudo-scientific context, by right-wing political activists, by marketing-experts, by so-called “coaches”.

The story is that, around 1955, an American scientific formulated a hypothesis which was
...
Senior Member
Views 953 Comments 4 Michael Uplawski is offline

  



All times are GMT -5. The time now is 09:20 PM.

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