{"id":297,"date":"2020-02-08T15:02:41","date_gmt":"2020-02-08T15:02:41","guid":{"rendered":"https:\/\/www.reliasolve.com\/?p=297"},"modified":"2020-02-08T15:32:25","modified_gmt":"2020-02-08T15:32:25","slug":"cross-platform-qtopengl-gles-example","status":"publish","type":"post","link":"https:\/\/reliasolve.com\/index.php\/programming-resources\/cross-platform-qtopengl-gles-example\/","title":{"rendered":"Cross-platform Qt:OpenGL(ES) example"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-medium\"><a href=\"https:\/\/github.com\/ReliaSolve\/qt-cross-platform \"><img loading=\"lazy\" decoding=\"async\" width=\"220\" height=\"300\" src=\"https:\/\/www.reliasolve.com\/wp-content\/uploads\/2020\/02\/GeneralOpenGLExample-220x300.jpg\" alt=\"\" class=\"wp-image-300\" srcset=\"https:\/\/reliasolve.com\/wp-content\/uploads\/2020\/02\/GeneralOpenGLExample-220x300.jpg 220w, https:\/\/reliasolve.com\/wp-content\/uploads\/2020\/02\/GeneralOpenGLExample.jpg 622w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>This project has an example OpenGL\/GLES based program that has been tested on Windows 10 Pro, Ubuntu 18.04.03, macOS 10.15.1, the iPhone simulator 11.3.1 and Android 10.  It can serve as a starting point to build other cross-platform applications.<\/p>\n\n\n\n<p>It includes constructing appropriate headers for vertex and shader programs to work with either OpenGL or GLES and integrating the OpenGL widget into a GUI that has other widgets to control it.<\/p>\n\n\n\n<p>It is released under the BSD 3-clause license, but of course a Qt license is also required to build it.<\/p>\n\n\n\n<p>The project can be found at  <a href=\"https:\/\/github.com\/ReliaSolve\/qt-cross-platform\">https:\/\/github.com\/ReliaSolve\/qt-cross-platform<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project has an example OpenGL\/GLES based program that has been tested on Windows 10 Pro, Ubuntu 18.04.03, macOS 10.15.1, the iPhone simulator 11.3.1 and Android 10. It can serve as a starting point to build other cross-platform applications. It includes constructing appropriate headers for vertex and shader programs to work with either OpenGL or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":300,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-297","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-resources"],"_links":{"self":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/comments?post=297"}],"version-history":[{"count":6,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"predecessor-version":[{"id":304,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/posts\/297\/revisions\/304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/media\/300"}],"wp:attachment":[{"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reliasolve.com\/index.php\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}