Return to site

Qt viewer for mac

broken image
broken image

Additionally, the viewer will load any translation files specified on the command line via the -translation option. The actual translation file that is loaded depends on the system locale. Such files can be created using Qt Linguist. This directory should contain translation files named 'qml_.qm', where is a two-letter ISO 639 language, such as 'qml_fr.qm', optionally followed by an underscore and an uppercase two-letter ISO 3166 country code, such as 'qml_fr_FR.qm' or 'qml_fr_CA.qm'. When the QML Viewer loads a QML file, it installs a translation file from a 'i18n' subdirectory relative to that initial file. Note by default, the current directory is included in the import search path, but namespaced modules like are not found unless the path is explicitly added.

broken image

This adds the current directory to the import path so that the viewer will find the plugin in the com/nokia/TimeExample directory.