slipher
slipher
The WIP Qt6 + CMake migration can be tested on the `qt6` branch, plus the `updater-wip` branch from https://github.com/slipher/fluid. So far only tested on Linux. No Docker build yet but...
> A timely thread, since I've been fighting with a massive size blowup caused by upgrading to Qt6. It goes from about 33 to 55 MB for the Linux binary....
I think something went wrong with the build that was only a few MB larger and some libraries were excluded. Now that I've got the Docker build working, I get...
For any real gains I expect you would have to apply LTO to the build of Qt itself. The flag for that in Qt's configure script is `-ltcg`. But then...
For the updater and Fluid QML files, both source code and bytecode are embedded, which is clearly a suboptimal situation. (I believe Qt's modules ship only bytecode.) Upon applying the...
Isn't UPX just irrelevant on all platforms though? - Can't be used on Windows due to antivirus - Linux binary has to be in a zip anyway for the +x...
> On my end the LTO build takes 11m40 while the non-LTO build takes 10m54 to be done. How long does it take to build just the updater though? I...
> But we can make it an option to pass on the docker command line. Right, in https://github.com/Unvanquished/updater/issues/164#issuecomment-3514943438 I suggested it could trigger with the `release` argument which is currently...
> I noticed that Qt6 build already builds zstd without us asking for it, so I tried doing that: Really? I tried requesting zstd via the `CMAKE_AUTORCC_OPTIONS` CMake variable earlier...
The XML attribute is supposed to be `compression-algorithm` so that explains why you are not getting the error. Anyway CMAKE_AUTORCC_OPTIONS seems better so it doesn't have to be repeated for...