Registered Member
|
I just tried to update my ktorrent install from git, but libktorrent is failing to compile with the following error:
It happens with the 1.1 and master branches, as well as the v1.1beta1 tag. The machine only really has qt 4.6 available, since trying to install the 4.7 debian packages would remove the rest of kde. The current version of 4.1-dev that I have installed is using 4.6 just fine it seems. |
Moderator
|
A qHash function must not be defined for QSharedPointer's in Qt 4.6
Is that the only place where the compile fails ? (use make -k so make will continue after a compile error) |
Registered Member
|
Seems thats the only compile failure I can see. It stops before finishing completely, but thats likely linking steps which depend on the file that failed..
|
Moderator
|
Try it now, this revision should fix it:
https://projects.kde.org/projects/extra ... d2cecde9f7 But I don't have Qt 4.6 to test against. |
Registered Member
|
Ok, that at least led me to something that did work. It seems that version check was a little off, I have qt 4.6.3 installed, and checking against 4.6.0 didn't catch my Qt version (Maybe use '< QT_VERSION_CHECK(4.7.0)' ?). Also, it errored out in peermanager.cpp and peerconnector.cpp, so I added that #if block to peerconnector.h, and removed it from peermanager.cpp, and it compiled. |
Registered Member
|
That should not be happening. Message me privately if you want help on this. |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]