{"id":18,"date":"2009-09-26T22:43:41","date_gmt":"2009-09-26T20:43:41","guid":{"rendered":"http:\/\/arnorehn.de\/cgi-bin\/weblog_basic\/index.php?p=18"},"modified":"2009-09-26T22:43:41","modified_gmt":"2009-09-26T20:43:41","slug":"qyoto-on-windows","status":"publish","type":"post","link":"https:\/\/www.arnorehn.de\/blog\/2009\/09\/26\/qyoto-on-windows\/","title":{"rendered":"Qyoto on Windows!"},"content":{"rendered":"<p>Now that the new smokegenerator is in trunk and generating smoke on windows shouldn&#8221;t be a pain anymore, I thought that I could dig out my nearly unused Vista partition on my laptop and start porting Qyoto to Windows.<br \/>\nFirst thing I did was removing the preinstalled Vista and installing it again to get rid of all the preinstalled crap Dell thought I needed. Next was installing Visual C++ and C# (the Express editions are free as in beer and work ok &#8211; nothing in comparison to KDevelop4 though) and KDE 4.3. Thanks to all of the KDE Windows team &#8211; you make Windows much more bearable! I also installed msys &#8211; can&#8221;t live without a proper shell anymore.<\/p>\n<p>Now came the actual porting: To support MS .NET and not only Mono, I needed to add support for csc.exe (the MS C# compiler) to the existing C# macros. As I recently discovered how to add support for a new language to cmake (which lacks documentation but is really easy once you understood it) I simply rewrote the C# macros as a new cmake language plugin. Compilation was pretty straight-forward, then.<br \/>\nBut as was to be expected, the examples simply crashed upon start. Long story short: Some of them work now and this is how it looks:<\/p>\n<p><a href=\"http:\/\/www.arnorehn.de\/cgi-data\/weblog_basic\/uploads\/2009\/09\/qyoto_t5.png\"><img decoding=\"async\" src=\"http:\/\/www.arnorehn.de\/cgi-data\/weblog_basic\/uploads\/2009\/09\/qyoto_t5_small.jpg\" alt=\"Qt tutorial t5 with Qyoto\" \/><\/a><\/p>\n<p>This is still really unstable and crashes every few minutes with an AccessViolationException. Have to figure out why it does that.. But first I have to do some other things, mainly porting the remaining kalyptus-generated smoke modules to the new smokegenerator. This shouldn&#8221;t take too long, so I think I can complete the Windows port soon \ud83d\ude42 So stay tuned!<\/p>\n<p>Update: The AccessViolationExceptions should be fixed now. If you want to try Qyoto on Windows and have problems getting it to compile or run, please send a mail to the kde-bindings mailinglist and include the complete error and backtrace. You can also search the mailing list archives since this topic came up quite often recently.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that the new smokegenerator is in trunk and generating smoke on windows shouldn&#8221;t be a pain anymore, I thought that I could dig out my nearly unused Vista partition on my laptop and start porting Qyoto to Windows. First thing I did was removing the preinstalled Vista and installing it again to get rid [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[10,27,12,16],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-kde","tag-c","tag-kde","tag-qyoto","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.arnorehn.de\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}