| 25 Nov 2022 |
K900 | * I don't want to read C++ on my phone | 06:59:53 |
samueldr | no worries, take any time you need before answering if you want to :) | 06:59:58 |
samueldr | I'm also confused... if the non-default config is valid, but user config is invalid... it will attempt to apply the user config anyway?? (and conversely) | 07:00:56 |
K900 | kconfig is kind of a huge mess tbh | 07:02:12 |
samueldr | here it's kwin! | 07:02:18 |
K900 | Yes, that's part of it | 07:02:27 |
samueldr | I mean, it's internals of kwin at that point | 07:02:28 |
K900 | It's because kconfig doesn't actually do things like merging config | 07:02:53 |
K900 | By default | 07:02:59 |
K900 | So everything has to do it manually which sucks | 07:03:10 |
K900 | There was some talk about redoing the config system entirely for KF6 but I have no clue if that actually landed or what it looks like | 07:03:44 |
samueldr | what kind of merging do you mean here? | 07:06:35 |
samueldr | because different "scopes" like /etc/xdg vs. ~/.config merge fine AFAIUI without manual intervention by the consumer of the config | 07:07:01 |
samueldr | e.g. kcminput, which is what I was looking at for kwin, doesn't load it from the different sources manually | 07:07:55 |
samueldr | but it does work | 07:08:02 |
samueldr | unless I totally missed something | 07:08:14 |
samueldr | though here it can't merge "dicts" from a config to another config [or the same config] | 07:08:43 |
K900 | mmm | 09:18:43 |
K900 | I just tried to update MythTV to make it build with Qt 5.15 | 09:18:55 |
K900 | https://github.com/MythTV/mythtv/blob/v32.0/mythtv/configure | 09:19:04 |
K900 | Don't you just love completely bespoke configure scripts | 09:19:12 |
K900 | And of course they have a vendored ffmpeg, which comes with another 8k lines of bespoke configure script | 09:24:31 |
K900 | OK, I give up | 09:36:18 |
K900 | Officially | 09:36:23 |
K900 | Should just drop it and alias it to Kodi | 09:37:22 |
K900 | 6head | 09:37:25 |
samueldr | https://api.kde.org/frameworks/kconfig/html/classKConfigGroup.html#a754c98908f1fa22924b8a8a987cd25ba | 22:53:22 |
samueldr |
You should not call any functions on an invalid group.
| 22:53:28 |
samueldr | so, with my understanding of the code, m_config could be invalid, m_defaultConfig valid, and it would only call functions on the invalid KConfigGroup! fun! | 22:54:03 |
samueldr | rebuilding with kwin changed sure is fun :( | 23:02:34 |