I have a question about supporting of QtConcurrent in Qt for Symbian. I use Qt 4.6.2 but I'dont understant how to use QtConcurrent. All works fine on Wice platform in the same version of QT, but doesn't work on Symbian. How to enable QtConcurrent, QFuture, QFutureWatcher?
Big thanks in advance for your answers!
QtConcurrent and QFuture are not implemented in Qt for Symbian yet: see Qt bug about that: https://bugreports.qt.io/browse/QTBUG-5182
Related
As I can see in Qt6 no more Multimedia API. Am I right? Is it correct that in Qt6 for such simple task as playing sound I should look at third-party libraries now?
Qt6 is a big change so for compatibility reasons Qt does not provide this module, it will be provided in Qt 6.2 as this post: Add-on support in Qt 6.0 and beyond points out, so if you want to reproduce sounds you will have to use a third party library.
For Qt 6.2 we are planning to provide the following additional
libraries:
Qt Bluetooth
Qt Data Visualization
Qt Lottie Animation
Qt Multimedia
Qt NFC
Qt Positioning
Qt Quick Dialogs: Folder, Message Box
Qt Remote Objects
Qt Sensors
Qt SerialBus
Qt SerialPort
Qt WebChannel
Qt WebEngine
Qt WebSockets
Qt WebView
(emphasis mine)
Qt Multimedia is (again) part of Qt 6.2.
Note though that the module was undergoing a substantial rewrite. For more details, see e.g. https://www.qt.io/blog/qt-multimedia-in-qt-6 and the relevant porting documentation.
in Qt 5.4 it is possible to develop Apps for Android and iOS. I want to understand the architecture behind it. There is nothing regarding this in the docu of Qt.
As to Android, you might start here.
Bogdan Vatra is the guy behind the Android Qt implementation:
http://www.kdab.com/qt-on-android-episode-1/
Are there any ways to use web camera on qt 4.8?
On qt5.1.1 I saw example camera and I can use QCamera, but on qt4.8 I couldn't. Does somebody give examples?
There are no native camera support in Qt4. Use Qt5 or some thirdpaty libraries. For example - GStreamer.
Is OpenGL mandatory in order to run a Qt application made of QML pages ?
Well, an implementation of OpenGL ES 2 is mandatory for Qt Quick 2, but that doesn't mean you need to use native OpenGL. On Windows you really should be using ANGLE, since on many Windows systems the installed OpenGL is either too old or broken.
Yes, with Qt Quick 2.0 OpenGL is a mandatory requirement.
I've been trying to make an application using Qt + OpenGL ES, so that it would run on devices but i can't seem to find any code on it, and the only few i could find wouldn't build. And when i searched for why it wasn't building people would say that i had to wait for a new version of Qt or something like that.
Anyone has ever done it? If so, there is a tutorial out there or something like that?
Examples for OpenGL ES 1.0 and OpenGL ES 2.0 are in examples/opengl/ of your Qt installation.
If you are targeting to Symbian, you need to wait Qt 4.7 and it's "experimental" OpenGL ES support for Symbian. With Maemo (N900), OpenGL ES 2.0 has been working since Qt 4.6.
Just as regular openGL - you just can't use a few features like pixel buffers
http://doc.qt.io/qt-5/windowsce-opengl.html
Qt OpenGL Nehe tutorials converted to the Qt environment
I haven't tried it yet, so hopefully will help.