{"id":556,"date":"2014-11-20T19:33:39","date_gmt":"2014-11-21T02:33:39","guid":{"rendered":"http:\/\/www.lothlorien.com\/kf6gpe\/?p=556"},"modified":"2014-11-20T19:33:39","modified_gmt":"2014-11-21T02:33:39","slug":"providing-images-to-qt-quick-with-qquickimageprovider","status":"publish","type":"post","link":"https:\/\/www.lothlorien.com\/kf6gpe\/providing-images-to-qt-quick-with-qquickimageprovider\/","title":{"rendered":"Providing images to Qt Quick with QQuickImageProvider&#8230;"},"content":{"rendered":"<p>I have been meaning to post this for a while, although no one&#8217;s asked me specifically about it.<\/p>\n<p>A couple of years ago, while at Nokia, I wrote <a href=\"http:\/\/www.lothlorien.com\/kf6gpe\/?p=251\" target=\"_blank\">this post<\/a> on QML and image providers for Qt 4.x.<\/p>\n<p>While revising my <a href=\"http:\/\/www.amazon.com\/dp\/1783282312\/ref=as_sl_pc_tf_lc?tag=lothloriencom&#038;camp=14573&#038;creative=327641&#038;linkCode=as1&#038;creativeASIN=1783282312&#038;adid=10SZDF7J0J9G2B6G5644&#038;&#038;ref-refURL=http%3A%2F%2Fwww.lothlorien.com%2Fkf6gpe%2F%3Fpage_id%3D16\" target=\"_blank\">latest book on Qt<\/a> this fall, I learned that in Qt 5.x, the QDeclarativeImageProvider class is now the <a href=\"http:\/\/qt-project.org\/doc\/qt-5\/qquickimageprovider.html\" target=\"_blank\">QQuickImageProvider<\/a> class. The interface remains the same, so the guidance still stands &#8212; just replace one with the other.<\/p>\n<p>If you want more details, stay tuned &#8212; my book should be out in the next couple of weeks, and I&#8217;ll post a link.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been meaning to post this for a while, although no one&#8217;s asked me specifically about it. A couple of years ago, while at Nokia, I wrote this post on QML and image providers for Qt 4.x. While revising my latest book on Qt this fall, I learned that in Qt 5.x, the QDeclarativeImageProvider &hellip; <a href=\"https:\/\/www.lothlorien.com\/kf6gpe\/providing-images-to-qt-quick-with-qquickimageprovider\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Providing images to Qt Quick with QQuickImageProvider&#8230;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[21,20],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-programming","tag-qml","tag-qt"],"_links":{"self":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts\/556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/comments?post=556"}],"version-history":[{"count":1,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts\/556\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts\/556\/revisions\/557"}],"wp:attachment":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/media?parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/categories?post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/tags?post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}