10/7/2023 0 Comments Linux cmake tutorialFor the German translation, for example, the words "annotation" and "decode trace row" have no suitable equivalents, so we had to make use of translations in spirit ("decoded values" for annotations and "category" for decode trace row), as unfortunate as this is. ![]() Sometimes, this is however not possible, and that's okay. We are aware that some terms are unique to sigrok/PulseView and thus hard to translate, but please try to preserve the spirit of the word, even if there isn't any literal translation. ts file in Qt Lingust and go through the translations just like its manual describes. Or, if the language has a regional flavor, additionally with a Alpha-2 ISO code (here for Mexican Spanish): Using Germany (DE) as an example, you'd do All you need is a clone of the PulseView repository (either using our Git repo or the GitHub repo), lupdate and Qt Linguist - on Ubuntu, the last two are included in the qttools5-dev and qttools5-dev-tools packages.Īfter obtaining a copy of the repository, look up the ISO 639-1 code for the language you want to translate to and create an untranslated language file. PulseView supports translations and so it would be nice if users like you would contribute translations of the user interface that we can include. To build with Clang: CXX=clang++ cmake.To disable -Werror: cmake -DDISABLE_WERROR=y.To enable decoders: cmake -DENABLE_DECODE=y.To enable unit tests: cmake -DENABLE_TESTS=y.To make a non-stripped debug build cmake -DCMAKE_BUILD_TYPE=Debug. ![]() To show compiler arguments during the build: make VERBOSE=1.To change the install prefix: cmake -DCMAKE_INSTALL_PREFIX= /. ![]() See also Building#Installing_to_a_non-standard_directory_using_LD_LIBRARY_PATH for more details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |