[mythtv-users] Status of Win32 builds for MythTV

Jerry Rubinow jerrymr at gmail.com
Mon Jul 22 05:13:15 UTC 2019


On Sun, Jul 21, 2019 at 6:35 PM Anthony Giggins <seven at seven.dorksville.net>
wrote:

>
>
> On Sun, 21 Jul 2019 at 04:05, Jerry Rubinow <jerrymr at gmail.com> wrote:
>
>> On Sun, Apr 28, 2019 at 12:57 AM <mythtv at kosowsky.org> wrote:
>>
>>> I am looking to find and/or build a Windows mythtv frontend for ver
>>> 29.1.
>>>
>>> In looking at the wiki
>>> (https://www.mythtv.org/wiki/MythTV_on_Windows), there doesn't seem to
>>> be anything updated since circa 2013 and ver 23.
>>>
>>> - Has anyone successfully built a Windows frontend using a recent mythtv
>>>   version?
>>> Are there any pre-builds available?
>>> Failing that, are there any updated build instructions?
>>>
>>> I like the idea of watching mythtv from my Windows laptop...
>>>
>>> Best,
>>> Jeff
>>>
>>
>> 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.
>>
>> The web page is here:
>> https://www.mythtv.org/wiki/MythTV_on_Windows_using_Visual_Studio  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.
>>
>> I had to do a few small fixups to get a good compile:
>> - the tool set and platform had to be updated to 142 and 10 for a few
>> .vcxproj project files (expat, exiv2, and libzmq)
>> - 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
>>
>> I was using QT 5.13.0.
>>
>> I ran mythtv\mythtv\configure.ps1 OutputType sln
>> This generated a solution file that I could then load in Studio and
>> compile.
>>
>> 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.
>>
>> -Jerry
>>
>>
> Did you have any binaries you'd like to share, I'd happily test, although
> I'm still running version 29
>
> Also which version did you compile? 29-fixes, 30-fixes or master?
>
> also why not submit a pull request to merge your changes back in? or a
> link to your fork atleast
>
> Cheers,
>
> Anthony
>

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.

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.

contains(QT_VERSION, ^5\\.[0-9]\\..*) {
QT += widgets
}

Anyway, once I get that sorted I'll make a pull request.

Thanks,
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190722/39a4bc54/attachment.html>


More information about the mythtv-users mailing list