I did not study this problem today, but I confirm that QET under mac mini M2 and compiled natively works much better than the package emulated with Roseta 2 and also well under linux or Windows but:
1] You need disabling Gatekeeper
sudo spctl --master-disable
2 ] Then need again to install Xcode program and re-sign the package and its libraries otherwise it will crash on launch...
codesign --force --deep --sign - /Applications/qelectrotech.app
But a novice macOS user is not going to install the Xcode development program which is very heavy and which takes about ten Giga bytes to run QElectroTech, he wants to click on the bundle, do the editing and simply drag and drop qelectrotech. app to Applications to install it....
From what I understand Apple now obliges and forces to have an Apple developer key to sign the packages for their aplle silicon M1/M2 chips, otherwise it will not install on their imac, mac mini, mac sutdio M1 M2 which are arm64 architecture instead of X86_64 for intel or AMD cpus, on the other hand all this at a cost, and you still have to pay 100 €/year to obtain the key.
I have already spent more than 250 € out of my pocket to buy the cheapest mac mini M2 while waiting for the donations to arrive, having struggled with my PC keyboard and wasting time each time finding where the special keys were regularly used for scripts and code like "#&_-,$!%, etc" I reluctantly decided to pay out of my own pocket for an extended magic keybord keyboard for around 150 €, the paypal kitty is zero at this point. moment, and I have advanced too far on my money side to pay the aplle developer subscription to sign the packages, here is where we are today ...
Unfortunately, I can't afford to keep putting money out of my pocket...as I reach the goal of running QET on Linux as well as macOS M1/M2!