Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#13086 closed Bug Report - General (fixed)

v29-fixes errors out during compilation

Reported by: hades@… Owned by: Peter Bennett
Priority: minor Milestone: 29.1
Component: MythTV - General Version: v29-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When i am cross-compiling v29-fixes for a raspberry pi (on a x86_64 debian machine), the build errors out during compilation with the following error:

mythdownloadmanager.cpp: In member function 'bool MythDownloadManager::downloadNowLinkLocal(MythDownloadInfo?*, bool)': mythdownloadmanager.cpp:1009:9: error: 'QTcpSocket' was not declared in this scope QTcpSocket socket;

I am not sure if this is just specific to how i am building it, but I added a #include <QTcpSocket> to the top of mythtv/libs/libmythbase/mythdownloadmanager.cpp and that seems to have resolved the issue. I would do a pull request, but i am not sure how to do that.

Change History (5)

comment:1 Changed 7 years ago by Peter Bennett

Owner: set to Peter Bennett
Status: newaccepted

I am not sure why that is happening specifically to you and nobody else. Probably there is some conditionally included header file that has QTcpSocket but is not being included in your case. Anyway I will add it to the source.

comment:2 Changed 7 years ago by Peter Bennett <pbennett@…>

Resolution: fixed
Status: acceptedclosed

In 9646afee0061c4e9bbb784e80b71fa0c65af21fc/mythtv:

Fixes #13086 - add missing include for QTcpSocket, causing compile failure in certain cases.

comment:3 Changed 7 years ago by Peter Bennett <pbennett@…>

In 9cf09cc43cbced882569ec959fbf9e30a5372a04/mythtv:

Fixes #13086 - add missing include for QTcpSocket, causing compile failure in certain cases.

(cherry picked from commit 9646afee0061c4e9bbb784e80b71fa0c65af21fc)

comment:4 Changed 7 years ago by Stuart Auchterlonie

Milestone: needs_triage29.1

comment:5 Changed 6 years ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.