Where can I get pre-alpha Qt 5.5 source with Bluetooth iOS and OS X support ?
-
I am excited about the coming bluetooth support for iOS and OS X planned for Qt 5.5.
Where would I go to get the Qt 5.5 branch of source code that will eventually become the Qt 5.5 Alpha release?
Sorry, I have usually used pre-built packages. In this case I am very anxious to learn how the bluetooth implementation is coming along.
-Ed
-
Hi,
The simplest way to get that is to clone the Qt sources from gitorious and checkout the dev branch
-
I am still using old school Subversion, but this seems to be getting a lot of source code.
This worked!
@
git clone https://git.gitorious.org/qt/qt5.git qt5
cd qt5
git checkout dev
perl init-repository
@Configure:
@
./configure -developer-build -opensource -nomake examples -nomake tests -skip qtwebkit
@Make it:
Configuration adding more options could probably speed itup quite a bit. It took a couple of hours on my i7.
@
gmake
@Add it to Qt Creator:
Qt Creator->Preferences
Build & Run->Qt Versions
Press Add button then browse to ./qt5/qtbase/bin/qmake
http://qt-project.org/wiki/Building-Qt-5-from-Git
Thanks,
-Ed
-
Yep, looks good. Depending on your code base you might want to skip the qtweb* modules since they are pretty lengthy to build.
-
Thanks!
Unfortunately Qt 5.5 QBluetoothServiceDiscoveryAgent seems broken.
Under Qt 5.4 I recall Linux Bluetooth support seemed to be broken in a similar manner. I can discover devices but not establish a connection.Qt 5.4 Android classic Bluetooth works great though! I have not tried Qt 5.5 on Android. I doubt I have the stamina to attempt to build Qt 5.5 Android. I will wait until Alpha release pre-builts.
I filed a bug. Hopefully I filed it where Bluetooth Qt5.5 developers may see it.
QBluetoothServiceDiscoveryAgent serviceDiscovered signal sends QBluetoothServiceInfo serviceUuid that is always "{00000000-0000-0000-0000-000000000000}"
https://bugreports.qt.io/browse/QTBUG-44320
Anyway, building on OSX is easy! Much easier than Linux and having hours of dependency install fun just to get it to build.
Thanks again,
-Ed
-
[quote author="EdOfTheMountain" date="1423004092"]I am still using old school Subversion, but this seems to be getting a lot of source code.
Add it to Qt Creator:
Qt Creator->Preferences
Build & Run->Qt Versions
Press Add button then browse to ./qt5/qtbase/bin/qmake
[/quote]
once you have added qt 5.5 as a new Qt version, how would you go about creating a new 'Kit' for qt 5.5 on an ios device so it will be deployed to the ios simulator or real device ?
i only seem to see a Qt 5.5.0 for Desktop when i follow these instructions
-
You need to build Qt for each target e.g. the iOS simulator is not the same architecture than the iOS for device
-
will
@./configure -developer-build -opensource -nomake examples -nomake tests -skip qtwebkit@ still build the ios architecture for the device though ?
the reason i'm asking is because the OP was asking for iOS and i have started using his lead on how to get the dev branch for ios running.
-
I have not figured out how to build iOS from Qt dev.
I may wait one more week and hope that Qt 5.5 Alpha is not further delayed:
http://qt-project.org/wiki/Qt-5.5-release
- Alpha Release 24th Feb 2015
It does look like the Qt dev to Qt 5.5 branch occurred.
-Ed
-
You need
@-xplatform macx-ios-clang@
for iOS and set the SDK accordingly if you want to build for the simulator
@-sdk iphonesimulator8.1@
-
i tried that but it gives me an error (i created my own thread instead of hijacking this one) https://qt-project.org/forums/viewthread/53238/
-
I think I found it last time by Googling for Qt 5.4 Alpha and found some blog posts announcing it. It would be nice to have a mail list I could sign up to.
Keep watching the blog:
http://blog.qt.io/blog/2014/09/08/qt-5-4-alpha-available/
Hopefully a 5.5 version will appear next week, and it will work, and I will not have to implement native Bluetooth for my Qt app on OS X and iOS.
https://download.qt.io/development_releases/qt/5.4/5.4.0-alpha/
Qt 5.4 Bluetooth is working now on both Android and Linux. Unfortunately for Windows I must to resort to using native winsock2 Bluetooth API.
-
Sadly I can find no announcement of Qt 5.5 Alpha having made the revised plan release date of 24th Feb 2015.
There is no new information on the new wiki.qt.io site:
http://wiki.qt.io/index.php?title=Qt-5.5-release
I could not find a new Qt 5.5 folder here:
-
The mailing list for announcements is "here":http://lists.qt-project.org/mailman/listinfo/announce
-
Thank you! I will sign up.
-
Qt 5.5 Beta snapshot (the beta release candidate) is out.
Bluetooth OS X support is working. I can connect to a device that uses the serial port profile. Same app works fine on Linux as well. Qt has no Bluetooth support for Windows so you have to use WINSOCK.
Bluetooth iOS support will be for Bluetooth Low Energy (BLE) only. However when I compile the Bluetooth Low Energy Heart Listener or Bluetooth Low Energy Scanner examples they both report a project error:
Project ERROR: Unknown module(s) in QT: bluetooth
Hopefully this will be fixed in the next snapshot.
Apple does not allow your app to talk to a Bluetooth classic serial port profile anyway unless you add an Apple ID authentication chip to your device. The ID chip is almost free (at least for our 1K volumes) but the application process for approval through the Made For iPod ( MFI ) program is a challenging adventure game. I think I'd rather do my US federal taxes personally.
-Ed