{"id":2486,"date":"2018-02-21T21:57:18","date_gmt":"2018-02-21T16:27:18","guid":{"rendered":"http:\/\/localhost:8081\/system-on-module-som\/?p=2486"},"modified":"2025-03-25T18:52:09","modified_gmt":"2025-03-25T13:22:09","slug":"getting-started-with-qml-on-esomimx6","status":"publish","type":"post","link":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/getting-started-with-qml-on-esomimx6\/","title":{"rendered":"Getting Started with QML on eSOMiMX6"},"content":{"rendered":"<p>QML is a declarative language that allows user interfaces to be described in terms of their visual components and how they interact and relate with one another. It separates the declarative UI design and the imperative programming logic. It also supports writing business logic code and UI handlers in JavaScript.<\/p>\n<p>This article guides you to develop your first QML application for <a href=\"https:\/\/www.e-consystems.com\/iMX6-micro-som-system-on-module.asp\">eSOMiMX6<\/a>.<\/p>\n<p>How about a simple Hello World application for your first QML application on <a href=\"https:\/\/www.e-consystems.com\/iMX6-micro-som-system-on-module.asp\">eSOMiMX6<\/a>.<\/p>\n<p>The application basically has an Image component and a text. The core QML Component of the application is <strong>MouseArea<\/strong> using which the input events like click, double-click, press, long press, etc can be handled.<\/p>\n<p>You\u2019ve got the power to create your own QML components from the existing ones. <strong>ApplicationHeader<\/strong> and <strong>ImageButton<\/strong> are such custom QML components by e-con Systems\u2122 that are reused in all the eSOM++ sample Qt\/QML applications.<\/p>\n<p>The UI can be modified using the Design Tool. You can use the <strong>Form Editor<\/strong> or the <strong>Text Editor<\/strong> of Qt Quick Designer in the Design mode to develop the application.<\/p>\n<p>Full source code for the Hello World application is available on e-con Systems\u2122 <a href=\"https:\/\/developer.e-consystems.com\/\">developer site<\/a>.<\/p>\n<p>Please refer our previous articles on <a href=\"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/getting-started-with-qt-creator-on-esomimx6\/\">How to setup Qt creator for eSOMiMX6 devices<\/a> and <a href=\"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/build-deploy-and-run-qt-application-on-esomimx6\/\">How to build, deploy and run Qt applications on eSOMiMX6 devices<\/a> to build and run the application on <a href=\"https:\/\/www.e-consystems.com\/iMX6-micro-som-system-on-module.asp\">eSOMiMX6<\/a> devices.<\/p>\n<p>For further assistance and queries get in touch with<a href=\"mailto:sales@e-consystems.com\"> sales@e-consystems.com<\/a><\/p>\n<p><!--Try eSOM++ first QML application on eSOMiMX6\n\n<a href=\"https:\/\/developer.e-consystems.com\/downloads?key=ehxs6scps08yz6fwgn2e2846fogxha2gsaukfj7yzgcp7harxvfadsi6%252fyzsjdwkpn2rcg8guswnix86g%252f7sp9rd9mhv0q5kw%252bkp%252fr9xu%252brxjntubmnj%252f1dk4xbrc54ug%252bvfrlhvlgcejainy2x0adjigx55kjsylzcvyajroosmfvgt2bls7szqwptfidpt%252batyorxy0cjkrg1z3j%252fbebms%252f1qp7ieg7w9fe4xjv%252bistfw%252blxzhmci86nblrtgsai00prwbiarljsdsb4960607jadqitu7mlghg7izajvfwxydmz4cqt7ii%252fa%252fg%252bpx\">Qt-QML-Setup-Qt-Creator-Steps Application Guide<\/a>\n\n<a href=\"https:\/\/developer.e-consystems.com\/downloads?key=ehxs6scps08yz6fwgn2e25wyqnmv%252flu%252b8sruzf9xsgsurcony4uqctq%252fccm%252bduqhayyfhxf9aecvti8v%252frv6otxw%252fazxo1e28vglw3loofsxxgvduy31lteu%252fnu7qx2lukw2pvob%252fdyt6tpb%252bckyni24l3jonmitxiooarfqmbnf1jaevyn45yywcfurpy5p3qi8mh33qu4dvwkbqkp9c6uvnscznx91nwk5jreqroha%252bzvqqgthu0br5lyj3on%252feelbuno67jcoyeepboyw%252fq7tfxzvltxodvsh68kll14qemxgturpaylpq3e17o63\">Qt-QML-Build-Deploy-Run-Steps Application Guide<\/a>\n\n<a href=\"https:\/\/developer.e-consystems.com\/downloads?key=69ykfkubx5erk9%252bgndi2wspc1wgkh6jlc72e3bxq3e8o4rpsykdcmeblbtda70i4bb%252fee8uis97inmuskhwriw4tqn2nlkdeefmzelzwmnbz9n5bi%252b2zaffhvvsuxifx7lnjldv39pg745hfd8jr%252f%252bsms6wwgydrukd5fwkltsl5%252f59lhulp%25\">Toolchain Package<\/a>\n\n<a href=\"https:\/\/developer.e-consystems.com\/downloads?key=69ykfkubx5erk9%252bgndi2wspc1wgkh6jlc72e3bxq3e8o4rpsykdcmeblbtda70i4bb%252fee8uis97inmuskhwriw4tqn2nlkdeefmzelzwmnbz9n5bi%252b2zaffhvvsuxifx7lnjldv39pg745hfd8jr%252f%252bsms6wwgydrukd5fwkltsl5%252f59lhulp%25\">Qt-Basics Samples Package Containing HelloWorld<\/a>--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>QML is a declarative language that allows user interfaces to be described in terms of&#8230;<\/p>\n","protected":false},"author":17,"featured_media":2487,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[213,342,343,127,340,341],"tags":[251,456,455,255,196,396,259,133],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts\/2486"}],"collection":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/comments?post=2486"}],"version-history":[{"count":5,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts\/2486\/revisions"}],"predecessor-version":[{"id":3053,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/posts\/2486\/revisions\/3053"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/media\/2487"}],"wp:attachment":[{"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/media?parent=2486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/categories?post=2486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.e-consystems.com\/blog\/system-on-module-som\/wp-json\/wp\/v2\/tags?post=2486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}