{"id":449,"date":"2012-03-21T08:06:52","date_gmt":"2012-03-21T07:06:52","guid":{"rendered":"http:\/\/www.thelins.se\/johan\/blog\/?p=449"},"modified":"2012-03-21T08:21:40","modified_gmt":"2012-03-21T07:21:40","slug":"packaging-qt-5","status":"publish","type":"post","link":"https:\/\/www.thelins.se\/johan\/blog\/2012\/03\/packaging-qt-5\/","title":{"rendered":"Packaging Qt 5"},"content":{"rendered":"<p>As <a href=\"http:\/\/qt-project.org\/wiki\/Qt-5\">Qt 5<\/a> approaches <a href=\"http:\/\/qt-project.org\/wiki\/Qt-5-Alpha\">alpha<\/a>, it is more and more interesting to try using it outside the comfort of developer machines. For that, packages are needed.<\/p>\n<p>Thanks to <a href=\"https:\/\/twitter.com\/#!\/vgrade\">vgrade<\/a> I found the <a href=\"https:\/\/gitorious.org\/qt-spec-effort\">qt-spec-effort<\/a> project on Gitorious. This git contains a nice script that populates an OBS with the Qt packages. Perfect for my needs. I had to employ some minor tweaking to get things going, so my clone can be <a href=\"https:\/\/gitorious.org\/~e8johan\/qt-spec-effort\/e8johan-qt-specs\">found here<\/a>.<\/p>\n<p>One thing that possibly could affect Qt 5 is the version of <a href=\"http:\/\/xcb.freedesktop.org\/\">XCB<\/a>, the new X protocol C bindings. When upgrading the existing packages for libxcb and friends I ran into a split package. Apparently, xcb-util was split into five packages (xcb-util, xcb-util-wm, xcb-util-renderutil, xcb-util-image, xcb-util-keysyms), so the packaging turned out to be a bit more tedious than expected. Still, the spec-files are available from the <a href=\"https:\/\/gitorious.org\/xcb-spec-effort\/xcb-spec-effort\">xcb-spec-effort<\/a> git that I setup. The only consequence of this was that I had to be more specific when specifying dependencies for Qt 5&#8217;s qtbase (it is all on Gitorious).<\/p>\n<p>So, now, all I need is a good way to measure and optimize QML performance. The <a href=\"https:\/\/gitorious.org\/swaplogger\">swaplogger<\/a> tool serves the first purpose (spec file in <a href=\"https:\/\/gitorious.org\/~e8johan\/swaplogger\/e8johans-swaplogger\">this clone<\/a>). Now, all that is left is the optimization part :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As Qt 5 approaches alpha, it is more and more interesting to try using it outside the comfort of developer machines. For that, packages are needed. Thanks to vgrade I found the qt-spec-effort project on Gitorious. This git contains a nice script that populates an OBS with the Qt packages. Perfect for my needs. I &hellip; <a href=\"https:\/\/www.thelins.se\/johan\/blog\/2012\/03\/packaging-qt-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Packaging Qt 5<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-linux","category-qt"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":3,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":452,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/449\/revisions\/452"}],"wp:attachment":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}