New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bluetooth agent imports and BluezQt usage #124
Conversation
need to add And it's broke all bluez4 devices like nexus5 |
Well I don't think this requires >= 5.68.0, but it definitely requires a higher version than whatever you had installed before. I'm not sure in which version the API changed to be honest. I'll just set it to 5.68.0 for now. The Nexus 5 is a bad example as it runs fine on mainline (iirc just audio doesn't work), so there is no need for a libhybris port and an old kernel. For officially SailfishOS supported devices just the Jolla 1 uses Bluez4, is that a device you still want to support? Supporting up-to-date BluezQt versions allows Glacier working on way more systems, including postmarketOS and all the devices it supports. |
Actually, once CMake support is in, I can probably make it work on both Bluez 4 and Bluez 5 by adding a define. That is, if you really want to support Bluez 4. What is the last BluezQt version that supports it? |
I think will be better make it working with old and new bluezqt like as https://github.com/nemomobile-ux/glacier-home/blob/devel/src/main.cpp#L55 |
Yes that is what I meant. Once the CMake change is merged I'll look into it. |
qmake won't be developed anymore from Qt6 and they're switching to CMake, so let's do the same.
Ok I just made this MR depend on #126, makes stuff easier. This currently compiles fine with at least BluezQt 5.68.0 and Qt 5.14.2, but should also work with BluezQt 5.50.0 which @neochapay is still using. |
Wait, why did you close this? |
Devel branch is deleted and merged into master. |
This makes it build with Qt 5.14 and BluezQt 5.68.0 at least.