Bug 347983 - kget fails to build using qt-5.5
Summary: kget fails to build using qt-5.5
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: Core (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 04:21 UTC by Christian Butcher
Modified: 2017-11-09 20:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to modify core/signature.h and cause make to succeed with qt5.5 (575 bytes, patch)
2015-05-20 04:24 UTC, Christian Butcher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Butcher 2015-05-20 04:21:27 UTC
kget fails to build using qt-5.5. Apparently this is due to a change in qtcore.
Can be fixed by explicitly including <QDataStream> in core/signature.h
Build error occurs in core/signature.cpp, but inclusion there leads to errors with the header. Since the header is included in the cpp file, one inclusion is sufficient for the .h file, but I don't know if the kde style would prefer explicit inclusion in both files.

Reproducible: Always

Steps to Reproduce:
1. Use qt-5.5 (I have the git sources for my build)
2. Switch to kf5_port in kget
3. Attempt to build kget on the kf5_port branch. 

Actual Results:  
cmake works but make fails with error 

core/signature.cpp:100:5 error: type 'QObject' is not a direct base of 'Signature' : QObject(object)

Expected Results:  
make succeeds.

Fixed by inclusion of <QDataStream>

Will add patch here.
Comment 1 Christian Butcher 2015-05-20 04:24:24 UTC
Created attachment 92723 [details]
Patch to modify core/signature.h and cause make to succeed with qt5.5