| 29 Sep 2025 |
outfoxxed | I guess I'm building qt again today | 05:40:02 |
K900 ⚡️ | Also I think I now have the context to explain what I was saying before about nativeBuildInputs | 05:40:28 |
K900 ⚡️ | My idea was to instead of doing what you did and propagating host tools everywhere | 05:40:41 |
K900 ⚡️ | To build a special "cross Qt" for (build -> target) | 05:41:09 |
K900 ⚡️ | So we have tools for build and libraries for target in the same package | 05:41:19 |
K900 ⚡️ | And then we just use those everywhere | 05:41:24 |
K900 ⚡️ | Which works without cmake patching but does lead to funni in Canadian use cases but no one does that anyway | 05:42:02 |
outfoxxed | I'm not sure what the advantage of that would be but I think that is an officially supported mode of operation | 05:42:10 |
outfoxxed | honestly I'm not sure why I had to patch the cmake for this, it should work with a host build in one folder | 05:42:38 |
K900 ⚡️ | That is the officially supported mode of operation | 05:42:39 |
K900 ⚡️ | That's mostly the advantage yes | 05:42:39 |
K900 ⚡️ | But seeing how small the cmake change is I think I like yours more | 05:42:42 |
K900 ⚡️ | I really need to process it a bit more though | 05:42:59 |
outfoxxed | Building from a full set of host tools is also supposed to work per the qt docs | 05:43:00 |
K900 ⚡️ | (and also process all the other things) | 05:43:05 |
K900 ⚡️ | Hm, that's news to me | 05:43:10 |
K900 ⚡️ | I wonder if this is something they did recently then | 05:43:17 |
outfoxxed | It doesn't work via that specific environment variable | 05:43:24 |
outfoxxed | but it does work with the QT_HOST_PATH one | 05:43:38 |
outfoxxed | or whatever it was called | 05:43:42 |
outfoxxed | judging by the cmake | 05:43:47 |
K900 ⚡️ | I also still have the Qt5 cross PR | 05:43:54 |
K900 ⚡️ | But that's a can of worms I'd much prefer to not open | 05:44:03 |
K900 ⚡️ | Possibly ever | 05:44:06 |
outfoxxed | I totally missed that existing, I was going to try to see if i could apply the same things there | 05:44:14 |
outfoxxed | but I care a lot more about qt6 | 05:44:18 |
K900 ⚡️ | https://github.com/NixOS/nixpkgs/pull/267311 | 05:44:42 |
K900 ⚡️ | And no you can't | 05:44:45 |
K900 ⚡️ | Because it's all qmake | 05:44:49 |
outfoxxed |  Download image.png | 05:44:51 |