* added general settings tests
* fixed pre-219 switchUnlockState (CPN)
* X7 radio settings tests
* updated X10 model
* patched TESTS_PATH to point directly at the complete tests path
* fixed horus general settings switch conversion
* cpn x10 general settings tests
* fixed horus cpn import
* use x10 model from otx file to ease editing with companion
* added make targets "gtests" and "tests"
gtests builds all the tests (radio & companion)
tests builds and executes all the tests (radio & companion)
* fixed companion tests cmake
* fixed gtests-radio target
* fixed commit tests
* fixed converting LS & RS on X10
* fixed converting global functions on X10
* fixed source conversion on X10
* fixed throttle source on X10
* fixed throttle source on radio and companion
* more checks and re-enabled Horus screenData copy
* more tests (X10)
* [X10] restore correct direction for RS & LS
* [horus] convert "Value" widget source
* fixed conversion of ModelHeader::bitmap length
* added missing X10 radio tests to companion tests
* fixed conversion of telemetry sources in logical switches
* [horus] fixed potential crash
* fixed "AND switch" conversion in logical switches
* [Companion] I18N:
* Introduce new Translations class to centralize all related functionality;
* Add ability to search multiple locations for .qm translation binaries (local folders, resources, system paths);
* Add ability to reload translations dynamically w/out application restart;
* Improve support for loading Qt translations (if available);
* [build][i18n] Look for and include pre-built Qt translations with other translation resources; Generate translations.qrc dynamically with rest of build files; Add EN "translation" file (simpler UI string edits and possible abstractions); Rename ZH translation file to be country-specific.
* [build] Centralize finding all the Qt bits into root CMakeLists; Make sure QT_QMAKE_EXECUTABLE is defined; Disable dysfunctional simulator installer script generation.
* Cosmetics (unused includes).
* [Companion] Make language options menu dynamic based on available translations, and always show native language name; Allow changing language of some elements w/out restarting (esp. menus/toolbar buttons); Simplify menus/actions/handlers for themes and icon sizes.
* [build] Better way to generate translations.qrc using input file again (previous method was generating new qrc for each reconfig); Make sure common library is linked to other modules which may need it; Remove unused script.
* [Companion][Simulator] Add custom qDebug message handler/formatter as an option. Keeps support for QT_MESSAGE_PATTERN env. var.
* [Simulator] Show system messages of level qInfo and above in debug console.
* [Simulator] Still capture screenshot to clipboard if path is not accessible (and screenshot results now print to simulator debug console).
* Fix for older CMake.
* [Companion] Do not start debug message handler if app is shutting down, and add null checks before using it; Increase backtrace report depth; Add OTx headers; Add Companion exit status debug; Clean up unused code.
* [Simulator] Add asynchronous FIFO buffer for handling debug output/display more efficiently. (#4488)
(cherry-picked from b12bd7d7be)