Qt
๐๐จ ๐ฒ๐จ๐ฎ ๐ฐ๐๐ง๐ญ ๐ญ๐จ ๐ค๐ง๐จ๐ฐ ๐ฐ๐ก๐๐ซ๐ ๐ ๐ฐ๐๐ฅ๐ค ๐๐ฎ๐ซ๐ข๐ง๐ ๐ฅ๐ฎ๐ง๐๐ก?
I’ve always wanted to have a tool to display all my activity tracks from ๐๐๐ซ๐ฆ๐ข๐ง on a global map. Which allows zooming and panning, selecting different time spans, etc. So, I created it in June. A minimal viable prototype was quickly done. Issues with broken tracks (GPX and the jitters ..) were fixed, and some optimizations to the loading and caching of the ๐๐ฉ๐๐ง๐๐ญ๐ซ๐๐๐ญ๐๐๐ฉ tiles were also done.
But then the ๐ฌ๐ก๐จ๐ฐ๐ฌ๐ญ๐จ๐ฉ๐ฉ๐๐ซ: it does not scale! I had used some hundred exported tracks initially: loads quite fast and also the mapping to the global coordinates was done within milliseconds. But when I tried to load all of the almost 10k tracks (I have been doing this for almost a decade ..), the app froze!
A classic in software development: it does not scale. What now?
Quite simple: profile a run, determine the bottlenecks and optimize. Of course, part of that can be done in an agentic way. Urging the agents to pre-process all tracks and store them in a more suitable format (QPainterPath) for quick lookup got us halfway there.
So here is version 0.0110 of ๐๐๐ซ๐ฆ๐ข๐ง๐๐๐ญ๐ข๐ฏ๐ข๐ญ๐ฒ๐๐๐ฉ (quite an uncreative name ..) – a ๐๐ฒ๐๐ญ ๐.๐๐ app, with Python 3.14, 11k LoC (4k for the functionality and the rest for tooling & tests), ๐๐% ๐๐จ๐ฏ๐๐ซ๐๐ ๐, local and GitHub Actions pipelines, .. you know the drill. You also receive a nice shell script to export your data from Garmin (if you don’t want to request a GDPR export and wait some days).
๐ ๐ฎ๐ฅ๐ฅ๐ฒ ๐ฅ๐จ๐๐๐ฅ, nothing is sent to the cloud or leaves your computer.
It really stands on the shoulders of giants: big thanks to the people behind OpenStreetMap and all the frameworks used. It would not be possible to create such a custom project without their work.
PS. to resolve the headline: those are the streets adjacent to the DATA MODUL AG headquarters in Munich/Laim.
Porting to ๐๐ญ ๐.๐๐ – obey the ๐๐๐
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/
๐๐ญ ๐๐ซ๐๐๐ญ๐จ๐ซ ๐ฌ๐ฉ๐๐ฅ๐ฅ๐๐ก๐๐๐ค โ ๐ง๐จ๐ฐ ๐ฐ๐ข๐ญ๐ก ๐๐๐ ๐ฌ๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ
I never wrote a #QtCreator #plugin before. Somehow I always avoided that, because first you have to set up your environment, then build a husk, make it build, yada yada.
But the spellchecker plugin from Carel Combrink was missing support for QML-type files for years now. C++ parsing existed, #QML did not.
๐ฆ๐ผ ๐ ๐ฒ๐ ๐ฝ๐ฎ๐ป๐ฑ๐ฒ๐ฑ ๐ถ๐.
New QML parser added next to the existing C++ parser. As you know: QML is different from C++ ๐
It now scans QML comments and user-visible string literals:
* // line comments
* /* block comments */
* double-quoted strings
* single-quoted strings
* template literals
It also tries hard to not be annoying. It ignores QML/JavaScript code tokens like imports, ids, property names, bindings, and component names. URLs, emails, pure numbers, color values, and all-caps words are filtered out as well.
Source positions are preserved, so underlines and replacements land where they should. It works for current-file and project-wide checks, with background processing, reparsing, and settings for comments and string literals.
Lots of #testing. Unit tests, yes. But also manual testing, because certain aspects were not part of my initial implementation plan. As always.
So now you can use any Hunspell dictionary to check your QML files for typos and get them fixed.
Typos in code and comments are a real concentration breaker while reading code.
๐ ๐ถ๐๐๐ถ๐ผ๐ป ๐ฑ๐ผ๐ป๐ฒ. ๐๐ป๐ผ๐๐ต๐ฒ๐ฟ ๐๐ต๐ถ๐ป๐ด ๐น๐ฒ๐ฎ๐ฟ๐ป๐ฒ๐ฑ. ๐๐ป๐ฑ ๐บ๐ฎ๐๐ฏ๐ฒ ๐๐ต๐ฒ ๐ฝ๐ฎ๐๐ฐ๐ต ๐ถ๐ ๐ฎ๐ฐ๐ฐ๐ฒ๐ฝ๐๐ฒ๐ฑ.
If someone really wants to check the patch themselves on GitHub:
https://github.com/CJCombrink/SpellChecker-Plugin/pull/197
Thanks to Carel Combrink and the other contributors for the existing work this builds on.
๐๐ญ๐๐ง๐๐ข๐ง๐ ๐จ๐ง ๐ญ๐ก๐ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐๐๐ซ๐ฌ ๐จ๐ ๐ ๐ข๐๐ง๐ญ๐ฌ.
#Spellchecking
qmake: shared libs without versioning and symlinks
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...', '# disable symli...') #3 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('# disable symli...', 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>By default s...') #7 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p>By default s...', Array) #8 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/post-template.php(240): apply_filters('the_content', 'By default shar...') #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




