-
Suggestion
-
Resolution: Won't Do
-
P4: Low
-
None
-
Qt Creator 19.0 (master branch)
-
None
-rwxr-xr-x 1 tjmaciei users 2577696 Oct 28 09:20 libexec/qtcreator/cmdbridge-darwin-amd64 -rwxr-xr-x 1 tjmaciei users 2519778 Oct 28 09:20 libexec/qtcreator/cmdbridge-darwin-arm64 -rwxr-xr-x 1 tjmaciei users 2617528 Oct 28 09:20 libexec/qtcreator/cmdbridge-linux-amd64 -rwxr-xr-x 1 tjmaciei users 2556088 Oct 28 09:20 libexec/qtcreator/cmdbridge-linux-arm64 -rwxr-xr-x 1 tjmaciei users 2884096 Oct 28 09:20 libexec/qtcreator/cmdbridge-windows-amd64.exe -rwxr-xr-x 1 tjmaciei users 2738688 Oct 28 09:20 libexec/qtcreator/cmdbridge-windows-arm64.exe
I suggest "lipo"ing the two "darwin" executables into a single file. On a Darwin host, you can use the actual lipo command. On other systems, you can use llvm-lipo if it is available.
$ llvm-lipo -create -output /tmp/cmdbridge libexec/qtcreator/cmdbridge-darwin-* $ file /tmp/cmdbridge /tmp/cmdbridge: Cafe Babe Mach-O universal binary with 2 architectures: [x86_64:\012- Mach-O 64-bit x86_64 executable, flags:<|DYLDLINK|PIE>] [\012- arm64:\012- Mach-O 64-bit arm64 executable, flags:<|DYLDLINK|PIE>]
Feel free to reject if this is going to make the detection of which file to upload more difficult (as you already have to detect the remote's CPU anyway for the other OSes).