Description of problem: In Fedora 27 qt5-qtgamepad 5.9.0 is incompatible with qt 5.9.2 Version-Release number of selected component (if applicable): qt5-qtgamepad-5.9.0-1.fc27.x86_64 qt5-qtbase-5.9.2-4.fc27.x86_64 How reproducible: Any application attempting to use qtgamepad would crash. In my case, I am developing it, and this line QGamepadManager* manager = QGamepadManager::instance(); crashes, because qt checks for version of objects. In qobject.cpp line 214 it checks if the library version matches the source code version. It then crashes with no message but in the debugger I could see "Cannot mix incompatible Qt library (version 0x%x) with this library (version 0x%x)" and a check with rpm -qa confirmed the case. In the rpm.spec there should be a requirement of an exact matching version of qt. We need 5.9.2 of qt5-qtgamepad.
I have rebuilt the rpm using 5.9.2 sources and the problem has been fixed. It really needs a precise version match, but I think this applies to every part of Qt creating a QObjectPrivate which might be really everything. For info this is the relevant code if (Q_UNLIKELY(version != QObjectPrivateVersion)) qFatal("Cannot mix incompatible Qt library (version 0x%x) with this library (version 0x%x)", version, QObjectPrivateVersion); And QT_VERSION is #define QT_VERSION QT_VERSION_CHECK(QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH) So all 3 numbers must match. Andrea
<nod>, I can make fixed builds and submit an update today.
qt5-qtgamepad-5.9.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b5e0a705c
qt5-qtgamepad-5.9.2-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cdd5bc16cd
looks good
qt5-qtgamepad-5.9.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b5e0a705c
qt5-qtgamepad-5.9.2-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cdd5bc16cd
qt5-qtgamepad-5.9.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
qt5-qtgamepad-5.9.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.