<div dir="ltr"><div dir="ltr">On Sun, Jul 21, 2019 at 6:35 PM Anthony Giggins <<a href="mailto:seven@seven.dorksville.net">seven@seven.dorksville.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 21 Jul 2019 at 04:05, Jerry Rubinow <<a href="mailto:jerrymr@gmail.com" target="_blank">jerrymr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Sun, Apr 28, 2019 at 12:57 AM <<a href="mailto:mythtv@kosowsky.org" target="_blank">mythtv@kosowsky.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am looking to find and/or build a Windows mythtv frontend for ver<br>
29.1.<br>
<br>
In looking at the wiki<br>
(<a href="https://www.mythtv.org/wiki/MythTV_on_Windows" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/MythTV_on_Windows</a>), there doesn't seem to<br>
be anything updated since circa 2013 and ver 23.<br>
<br>
- Has anyone successfully built a Windows frontend using a recent mythtv<br>
  version?<br>
Are there any pre-builds available?<br>
Failing that, are there any updated build instructions?<br>
<br>
I like the idea of watching mythtv from my Windows laptop...<br>
<br>
Best,<br>
Jeff<br></blockquote><div><br></div><div>A few years ago dblain made a powershell script and a wiki page for compiling using Visual Studio.  I was able to successfully compile everything using master and the 2019 Community version  (the free one) of Visual Studio.</div><div><br></div><div>The web page is here: <a href="https://www.mythtv.org/wiki/MythTV_on_Windows_using_Visual_Studio" target="_blank">https://www.mythtv.org/wiki/MythTV_on_Windows_using_Visual_Studio</a>  It talks about QT with versions of Visual Studio newer than 2010 not working because QT doesn't have 32-bit OpenGL support for newer versions of Studio.  It also says 64 bit builds cannot be done because of lack of support for inline assembly in Studio.  However, I was able to compile a 64-bit version without compile issues, so perhaps the myth source has conditionals for that now.  Compiling a 64-bit app gets around the QT issue I assume.</div><div><br></div><div>I had to do a few small fixups to get a good compile:</div><div>- the tool set and platform had to be updated to 142 and 10 for a few .vcxproj project files (expat, exiv2, and libzmq)</div><div>- there were a dozen .pro files that needed QT += widgets in them.  There was conditional code in them that was not adding them.  Not sure why</div><div><br></div><div>I was using QT 5.13.0.</div><div><br></div><div>I ran mythtv\mythtv\configure.ps1 OutputType sln</div><div>This generated a solution file that I could then load in Studio and compile.</div><div><br></div><div>Big disclaimer: I only claim to have built everything without compile or link errors.  I did not test for a successful run, as I'm not setup for that right now.  If you want my git diff output, let me know.</div><div><br></div><div>-Jerry</div></div></div><br></blockquote><div><br></div><div>Did you have any binaries you'd like to share, I'd happily test, although I'm still running version 29</div><div><br></div><div>Also which version did you compile? 29-fixes, 30-fixes or master?</div><div><br></div><div>also why not submit a pull request to merge your changes back in? or a link to your fork atleast</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div></div></blockquote><div><br></div><div>I'd be happy to share binaries.  I built against master, but I could switch to a different branch if that would be more helpful. Let me know.</div><div><br></div><div>I would like to get the changes I made merged back in, but I made my .pro file changes without really understanding why they weren't working as they were.  Why didn't the following include widgets?  I had to move the widgets line outside the condition for the code to compile.</div><div><br></div><div>contains(QT_VERSION, ^5\\.[0-9]\\..*) {<br>QT += widgets<br>}<br><br></div><div>Anyway, once I get that sorted I'll make a pull request.</div><div><br></div><div>Thanks,</div><div>Jerry</div></div></div>