{"id":17778,"date":"2023-09-24T01:41:12","date_gmt":"2023-09-24T05:41:12","guid":{"rendered":"https:\/\/foldingfoldable.com\/web\/how-to-install-qt-to-develop-gui-apps-on-linux\/"},"modified":"2023-09-24T01:41:12","modified_gmt":"2023-09-24T05:41:12","slug":"how-to-install-qt-to-develop-gui-apps-on-linux","status":"publish","type":"post","link":"https:\/\/foldingfoldable.com\/web\/how-to-install-qt-to-develop-gui-apps-on-linux\/","title":{"rendered":"How to Install Qt to Develop GUI Apps on Linux"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>Qt is a cross-platform application framework that allows developers to create and deploy software for multiple operating systems. Primarily used as a way of quickly developing GUIs, it also provides tools for networking, file handling, and database integration.<\/p>\n<div class=\"adsninja-ad-zone \" id=\"adsninja-ad-zone-adsninja-ad-unit-belowFirstParagraph-602faf9cbd1448\" style=\"\">\n<div id=\"dynamically-injected-refresh-ad-zone-adsninja-ad-unit-belowFirstParagraph-602faf9cbd1448\" class=\"dynamically-injected-refresh-ad-zone\">\n<div class=\"ad-current\">\n<div id=\"ad-zone-container-adsninja-ad-unit-belowFirstParagraph-602faf9cbd1448\" class=\"ad-zone-container ad-zone-container-content-below-first-paragraph adsninja-ad-zone-container-with-set-height ad-zone-container-background-details-enabled ad-zone-container-loading-animation-disabled ad-loading \" data-no-fill-collapsable=\"false\"><strong class=\"an-zone-tag-top ad-zone-advertising-tag\">MUO VIDEO OF THE DAY<\/strong><\/p>\n<p><strong class=\"an-zone-tag-bottom ad-zone-advertising-sub-tag\">SCROLL TO CONTINUE WITH CONTENT<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Here\u2019s how you can install QT on Linux.<\/p>\n<h2 id=\"why-install-qt-on-linux\"> Why Install Qt on Linux? <\/h2>\n<div class=\"body-img landscape\">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:53.275582024905%\" data-img-url=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"null\">\n<figure> <picture><!--[if IE 9]> <video style=\"display: none;\"><![endif]--><source media=\"(min-width: 1024px)\"  data-\/><source media=\"(min-width: 768px)\"  data-\/><source media=\"(min-width: 481px)\"  data-\/><source media=\"(min-width: 0px)\"  data-\/><!--[if IE 9]><\/video><![endif]--><img loading=\"lazy\" decoding=\"async\" width=\"1847\" class=\"lazyload\" height=\"984\" alt=\"qt studio coffeemachine manual and ide\" style=\"display:block;height:auto;max-width:100%;\" src=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\"\/> <\/picture> <\/figure>\n<\/div>\n<\/div>\n<p>The look and feel of most Linux desktop apps are determined by toolkits, which give developers access to readymade buttons, toolbars, sliders, menus, and more. This saves time and means that they can get on with the important work of coding the app itself.<\/p>\n<p>While GNOME apps use the GTK+ toolkit, KDE uses Qt (pronounced \u00abcutie\u00bb), and apps from KDE all tend to have a familiar look.<\/p>\n<p>If you\u2019re writing your own Linux desktop app and want it to have a KDE-like look, or even if you\u2019re just compiling an open-source app that uses Qt, you\u2019ll need to have Qt installed on your Linux system.<\/p>\n<p>It\u2019s important to note that Qt is available with both commercial and open-source licenses. If you\u2019re using Qt under the open-source license, it\u2019s expected that you will contribute back to the project and that, \u00abAll users have the rights to obtain, modify and redistribute the full source code of your application\u00bb.<\/p>\n<p>The applications you produce must be licensed under LGPL version 3, GPL version 2, or GPL version 3. The Qt Group is deadly serious about this, and there are sections of the website devoted to your obligations when using Qt under LGPL, as well as the consequence of not complying with the licensing restrictions.<\/p>\n<p>If you\u2019re not sure, check out our comparatively short primer on what open source means.<\/p>\n<h2 id=\"how-to-install-qt-on-linux\"> How to Install Qt on Linux <\/h2>\n<p>Qt is available as both offline and online installers. For ease of use, the developers recommend using the online version.<\/p>\n<div class=\"body-img landscape\">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:55.522827687776%\" data-img-url=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_731_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"null\">\n<figure> <picture><!--[if IE 9]> <video style=\"display: none;\"><![endif]--><source media=\"(min-width: 1024px)\"  data-\/><source media=\"(min-width: 768px)\"  data-\/><source media=\"(min-width: 481px)\"  data-\/><source media=\"(min-width: 0px)\"  data-\/><!--[if IE 9]><\/video><![endif]--><img loading=\"lazy\" decoding=\"async\" width=\"1358\" class=\"lazyload\" height=\"754\" alt=\"qt downloads page with buttns for each OS\" style=\"display:block;height:auto;max-width:100%;\" src=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_731_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\"\/> <\/picture> <\/figure>\n<\/div>\n<\/div>\n<p>Open a browser and head over to the Qt downloads page.<\/p>\n<p><strong>Download:<\/strong> <a target=\"_blank\" href=\"http:\/\/www.qt.io\/download-qt-installer-oss\" rel=\"noopener noreferrer external\" data-wpel-link=\"external\">Qt<\/a><\/p>\n<p>Qt is available for Windows, macOS, and Linux, and the page should automatically detect that you\u2019re running Linux. If it doesn\u2019t, click on the penguin icon, then click <strong>Qt Online Installer for Linux<\/strong>.<\/p>\n<p>The download is around 50MB and will be named <strong>qt-unified-linux-xxx.x.x.run<\/strong>, where <strong>xxx-x.x.x<\/strong> is your processor architecture and the Qt version number. The download should take a few minutes at most.<\/p>\n<p>In your terminal, navigate to where you downloaded the package. In most cases, this will be your <strong>Downloads<\/strong> directory.<\/p>\n<div class=\"body-img landscape\">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:33.333333333333%\" data-img-url=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_626_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"null\">\n<figure> <picture><!--[if IE 9]> <video style=\"display: none;\"><![endif]--><source media=\"(min-width: 1024px)\"  data-\/><source media=\"(min-width: 768px)\"  data-\/><source media=\"(min-width: 481px)\"  data-\/><source media=\"(min-width: 0px)\"  data-\/><!--[if IE 9]><\/video><![endif]--><img decoding=\"async\" loading=\"lazy\" width=\"1119\" class=\"lazyload\" height=\"373\" alt=\"modify permissions for qt installer and run\" style=\"display:block;height:auto;max-width:100%;\" src=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_626_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\"\/> <\/picture> <\/figure>\n<\/div>\n<\/div>\n<p>Make the file executable with:<\/p>\n<pre> <code class=\"hljs console\">sudo chmod +x qt-unified-linux-*.run<\/code> <\/pre>\n<p>Enter your password when requested, then launch the installer with:<\/p>\n<pre> <code class=\"hljs console\">.\/qt-unified-linux-*run<\/code> <\/pre>\n<p>You need to have a Qt account to install Qt. If you already have one, enter your email address and password.<\/p>\n<p>If you don\u2019t yet have a Qt account, click on <strong>Sign up<\/strong>, create an account with an email address and password, and tick the box to confirm that you\u2019ve read the service terms\u2014these are compiled in a linked 12,931-word document, so you should probably set aside an afternoon, and engage in some exercises to keep you fit at your desk.<\/p>\n<p>Click <strong>Next<\/strong>, and if you\u2019ve just created an account for the first time, check your email, click the confirmation link, and continue to set up your account.<\/p>\n<p>You can now return to the installer and click <strong>Next<\/strong> again.<\/p>\n<div class=\"body-img landscape\">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:66.490486257928%\" data-img-url=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_291_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"null\">\n<figure> <picture><!--[if IE 9]> <video style=\"display: none;\"><![endif]--><source media=\"(min-width: 1024px)\"  data-\/><source media=\"(min-width: 768px)\"  data-\/><source media=\"(min-width: 481px)\"  data-\/><source media=\"(min-width: 0px)\"  data-\/><!--[if IE 9]><\/video><![endif]--><img decoding=\"async\" loading=\"lazy\" width=\"946\" class=\"lazyload\" height=\"629\" alt=\"qt open source obligations screen\" style=\"display:block;height:auto;max-width:100%;\" src=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_291_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\"\/> <\/picture> <\/figure>\n<\/div>\n<\/div>\n<p>On the subsequent screen, you will have to check another box confirming that you have read and agree to the terms and conditions of using open-source Qt, and either enter your company name or check the box confirming that you are an individual not using Qt on behalf of any company.<\/p>\n<p>If you\u2019re sure you can live with the obligations, click <strong>Next<\/strong> again. Over the next few clicks you will have to acknowledge the Welcome screen, decide whether to contribute pseudonymous usage statistics, and select the directory where Qt will be installed.<\/p>\n<p>You can then choose the Qt components you want. The defaults should be suitable for most use cases.<\/p>\n<div class=\"body-img landscape\">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:65.856236786469%\" data-img-url=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_197_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"null\">\n<figure> <picture><!--[if IE 9]> <video style=\"display: none;\"><![endif]--><source media=\"(min-width: 1024px)\"  data-\/><source media=\"(min-width: 768px)\"  data-\/><source media=\"(min-width: 481px)\"  data-\/><source media=\"(min-width: 0px)\"  data-\/><!--[if IE 9]><\/video><![endif]--><img decoding=\"async\" loading=\"lazy\" width=\"946\" class=\"lazyload\" height=\"623\" alt=\"qt installer licence agreements screen\" style=\"display:block;height:auto;max-width:100%;\" src=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_197_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\"\/> <\/picture> <\/figure>\n<\/div>\n<\/div>\n<p>The next screen contains four separate license agreements that have a combined word count of 15,200, including six uses of the word \u00abconsequence\u00bb and four mentions of \u00abconsequential damages\u00bb. Read these documents carefully, check the box to confirm you have done so, and click <strong>Next<\/strong>, then <strong>Install<\/strong> to finally begin the installation.<\/p>\n<p>The total download is around 2GB and may take some time.<\/p>\n<div class=\"body-img landscape\">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:66.173361522199%\" data-img-url=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_685_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"null\">\n<figure> <picture><!--[if IE 9]> <video style=\"display: none;\"><![endif]--><source media=\"(min-width: 1024px)\"  data-\/><source media=\"(min-width: 768px)\"  data-\/><source media=\"(min-width: 481px)\"  data-\/><source media=\"(min-width: 0px)\"  data-\/><!--[if IE 9]><\/video><![endif]--><img decoding=\"async\" loading=\"lazy\" width=\"946\" class=\"lazyload\" height=\"626\" alt=\"qt setup completion dialogue\" style=\"display:block;height:auto;max-width:100%;\" src=\"https:\/\/foldingfoldable.com\/web\/wp-content\/uploads\/2023\/09\/1695534072_685_How-to-Install-Qt-to-Develop-GUI-Apps-on-Linux.jpg\"\/> <\/picture> <\/figure>\n<\/div>\n<\/div>\n<p>When the download completes, you\u2019ll be asked if you want to view the README file, launch Qt Design Studio, or launch Qt Creator. Uncheck these if you want to get to work straight away, then click <strong>Finish<\/strong>.<\/p>\n<h2 id=\"use-qt-to-develop-your-next-gui-app\"> Use Qt to Develop Your Next GUI App <\/h2>\n<p>With Qt, it\u2019s easy to make your next app look fabulous. If you\u2019re not certain what you want to make, there are some great coding tutorial sites for programmers of every level.<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Qt is a cross-platform application framework that allows developers to create and deploy software for multiple operating systems. Primarily used as a way of quickly developing GUIs, it also provides tools for networking, file handling, and database integration. MUO VIDEO OF THE DAY SCROLL TO CONTINUE WITH CONTENT Here\u2019s how you can install QT on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17779,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","pmpro_default_level":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-17778","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","pmpro-has-access"],"_links":{"self":[{"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/posts\/17778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/comments?post=17778"}],"version-history":[{"count":0,"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/posts\/17778\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/media\/17779"}],"wp:attachment":[{"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/media?parent=17778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/categories?post=17778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foldingfoldable.com\/web\/wp-json\/wp\/v2\/tags?post=17778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}