Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
photography | solutions; not code

photography

Porting to ๐๐ญ ๐Ÿ”.๐Ÿ๐Ÿ – obey the ๐‚๐‘๐€

Written by  on October 4, 2026

At the end of September, Qt 6.12 was released into the wild. And since this is a much-anticipated LTS version (the last one was 6.8), I started to port my FOSS projects.
๐‚๐ฎ๐ฅ๐ฅ๐ž๐ง๐๐ฎ๐ฅ๐š, since it is a tiny project but quite old (~8 years), went through a lot of changes. It is a helper to cull unwanted photos from a weekend session (aka: just filter the best ones out). Boring old-fashioned widgets with some C++ backend code: read the directory, load image files, move them to different directories, some UI themes and ๐ข๐Ÿ๐Ÿ–๐ง, nothing fancy.
But that makes it an ideal candidate to try out new Qt releases.

The work was done in less than 30 minutes, thanks to guardrails like 98% test coverage and CI pipelines. This was supported by the use of modern dependencies like ๐‚๐Œ๐š๐ค๐ž ๐Ÿ’.๐Ÿ’.๐Ÿ‘, ๐‚++๐Ÿ๐Ÿ‘, etc., which prevented me from having to modernize not just Qt, but other things as well.

So what do we get now? An LTS release, which promises ๐Ÿ“ ๐ฒ๐ž๐š๐ซ๐ฌ ๐จ๐Ÿ ๐ฌ๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ, which means we should be well defended against cybersecurity vulnerabilities and software flaws (CVEs). Which is part of the CRA. To resolve the pending question what does CRA even mean: this is the ๐‚๐ฒ๐›๐ž๐ซ ๐‘๐ž๐ฌ๐ข๐ฅ๐ข๐ž๐ง๐œ๐ž ๐€๐œ๐ญ, where the first major enforcement milestone took effect on 11th September 2026. Vendors of software-products are responsible to deliver maintenance
Again, two releases for Windows (๐ž๐ฑ๐ž๐œ๐ฎ๐ญ๐š๐›๐ฅ๐ž) and Linux (๐€๐ฉ๐ฉ๐ˆ๐ฆ๐š๐ ๐ž).
And a resulting ๐ฆ๐ข๐ ๐ซ๐š๐ญ๐ข๐จ๐ง ๐ ๐ฎ๐ข๐๐ž, which is actually the more informative part for me – because I like to know what we have to change to ๐ฉ๐จ๐ซ๐ญ ๐ž๐ฑ๐ข๐ฌ๐ญ๐ข๐ง๐  ๐ฌ๐จ๐Ÿ๐ญ๐ฐ๐š๐ซ๐ž.

Fork the 2.6k LoC and 2.7k lines of tests at GitHub: https://github.com/marcelpetrick/Cullendula/

 

digiKam workflow for proper renaming

Written by  on December 28, 2020
  1. Import the directories with the images. Takes usually several minutes for gigabytes of data.
  2. Press F2 for renaming. Use as scheme:
    [date:yyyyMMdd-hhmmss]{unique:3}
    Self-explaining and with a unique three digit suffix in case two identical filenames would appear.ย โ†’ “20200216-141529_001.JPG”

robocopy: transfer huge repositories between PCs

Written by  on April 16, 2018

Fatal error: Uncaught Error: Call to a member function id() on array in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'robocopy source...') #3 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('robocopy source...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(703): CrayonHighlighter->output(true, false) #6 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/class-wp-hook.php(286): CrayonWP::the_content('<p>Average rate...') #7 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p>Average rate...', Array) #8 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/post-template.php(240): apply_filters('the_content', 'Average rates o...') #9 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/themes/clean-black/loop.php(7): the_content('Read more...') #10 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/template.php(751): require('/users/marcelpe...') #11 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/template.php(708): load_template('/users/marcelpe...', false) #12 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/general-template.php(155): locate_template in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36