{"id":576,"date":"2017-02-11T01:32:30","date_gmt":"2017-02-11T00:32:30","guid":{"rendered":"http:\/\/www.instruyete.org\/?p=576"},"modified":"2017-02-11T01:32:30","modified_gmt":"2017-02-11T00:32:30","slug":"ubuntu-unity-menu-style-fuer-qt-programme","status":"publish","type":"post","link":"https:\/\/www.instruyete.org\/?p=576","title":{"rendered":"Ubuntu Unity Menu style f\u00fcr Qt Programme"},"content":{"rendered":"<p>Ubuntu und die <strong>globale Menubar in Unity<\/strong> &#8211; ich mag sie. Die alte Begr\u00fcndung &#8211; schneller Navigation durch Men\u00fcbar on Top &#8211; gilt immer noch.<\/p>\n<figure id=\"attachment_577\" aria-describedby=\"caption-attachment-577\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.instruyete.org\/wp-content\/uploads\/2017\/02\/qtcreator.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.instruyete.org\/wp-content\/uploads\/2017\/02\/qtcreator-1024x625.png\" alt=\"QtCreator 4.2.1\" width=\"1024\" height=\"625\" class=\"aligncenter size-full wp-image-577\" \/><\/a><figcaption id=\"caption-attachment-577\" class=\"wp-caption-text\">QtCreator integrated into Ubuntu&#8217;s menubar<\/figcaption><\/figure>\n<p>Aber nicht immer spielen alle mit. Qt Programme die \u00fcber Ubuntu&#8217;s Paketmanagement laufen, stellen kein Problem dar. Vor kurzem installierte ich allerdings ein eigenes Qt, bei dem dann prompt die Menu&#8217;s nicht mehr on Top, sondern altbacken am MainWindow plaziert waren.<\/p>\n<p>Der Grund ist &#8211; dass die <strong>Qt SDK<\/strong> \u00fcber den Online-Installer fertig kompilierte binaries (=libraries) f\u00fcr Linux 64bit lieferte.<\/p>\n<p>Wenn man allerdings die <strong>Qt SDK<\/strong> selber kompiliert &#8211; was \u00fcbrigens durch die filigrane <em>configure<\/em> Steuerung auch Sinn macht, sofern man eine eigene Qt Version m\u00f6chte &#8211; gibt es keine Probleme. Irgendwo in den Untiefen des X-Systems (package appmenu-qt5) scheint es eine Ubuntu-modifizierte Komponente zu geben, gegen die man linkt um das globale Menu zu erhalten. Allerdings nimmt die lokale Qt-Installation (Sourcen, Kompilate und fertige Binaries) sehr viel Speicher in Beschlag &#8211; bspw. umfasst mein Ordner qt-everywhere-opensource-src-5.8.0 nach erfolgreichem  Kompilieren immerhin <strong>21GB<\/strong>!<\/p>\n<p>Das gleiche Ph\u00e4noment kann man auch mit 3rd party Qt Applikationen beobachten &#8211; linken sie gegen die Qt-Systemlibraries hat man das globale Men\u00fc &#8211; liefern sie eigene Qt-Bibliotheken mit, gibt es kein globales Men\u00fc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu und die globale Menubar in Unity &#8211; ich mag sie. Die alte Begr\u00fcndung &#8211; schneller Navigation durch Men\u00fcbar on Top &#8211; gilt immer noch. Aber nicht immer spielen alle mit. Qt Programme die \u00fcber Ubuntu&#8217;s Paketmanagement laufen, stellen kein Problem dar. Vor kurzem installierte ich allerdings ein eigenes Qt, bei dem dann prompt die &hellip; <a href=\"https:\/\/www.instruyete.org\/?p=576\" class=\"more-link\"><span class=\"screen-reader-text\">Ubuntu Unity Menu style f\u00fcr Qt Programme<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,7],"tags":[18,19,20],"class_list":["post-576","post","type-post","status-publish","format-standard","hentry","category-linux","category-unix","tag-qt","tag-ubuntu","tag-unity"],"_links":{"self":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/posts\/576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=576"}],"version-history":[{"count":0,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.instruyete.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}