Solved Do we have to use Qt Quick/Qml to use Multimedia on Android?
-
I haven't started using Qt yet , I have a few confusions.I want to use Qt mostly for Android but I want to avoid using Qt Quick and Qml as much as possible(personal preference).Now, from what I read and understand, I have to use Qt Quick and Qml to be able to use Qt's multimedia functions for Android, is it true?
Note: I wanted to send this message to Mobile and Embedded section,but when I click on it, it isn't selected, so I unintentionally posted under "general and desktop"(maybe my Pc's security software,adblocker or webbrowser is causing this problem, I am not able to select a forum section while posting)
-
@Cfan The page got updated with the aab- Info and that part was not removed, it's save to say, that it still holds true :(
TO be sure you could build the examples that come with the multimediawidgedt modul
https://doc.qt.io/qt-5/qtmultimediawidgets-index.html#examples
and check if they run on android devices -
It is not true.
-
@Cfan Generally speaking not true. Only exception I know of, would be the integration of the
Camera
the QML implementation of the camera just works, whereas the QWidget part for that is abysmal -
Thanks for your answers.
-
"Multimedia Special Considerations
The Qt Multimedia Widgets module is not supported on Android, which means video display is only available using the Video QML Type.
link text"Is this an old information which is not true anymore?
-
@Cfan The page got updated with the aab- Info and that part was not removed, it's save to say, that it still holds true :(
TO be sure you could build the examples that come with the multimediawidgedt modul
https://doc.qt.io/qt-5/qtmultimediawidgets-index.html#examples
and check if they run on android devices -
Thanks for your answer.
I would like to test to be sure but I have currently an old computer with 32bit Windows 7.Is it possible to compile for 32bit android?Currently on my pc, Qt 5.12.9 is installed, I used offline installation method and after installation I noticed that two needed installed Qt android components(I forgot their names) were 64bit components actually although I installed the 32bit version of Qt.I think it is related to Google Play Store not accepting 32bit apps anymore, so it seems they got removed from Qt, actually newer Qt versions are 64bit for Windows too I think.
I would like to install 32bit of version of those components if it is possible, just to do some tests.If I become serious about creating Android apps I will need to buy a new computer for sure.
-
@Cfan
Google did not remove 32 bits from the play store, but you're now also required to provide a 64 bit solution of your app, in addition to a 32 bit one.32/64 bit version of your os should have no influence on your android app/development, since you're (cross) compiling for a different OS
when you used the offline installer, then you have to deinstall and reinstall everything. If you use the online installer, you can add and remove components ant any time at will
-
Thanks for your answer .It's good to learn that I can use 32bit Windows to build a 64bit Android app.
-
@Cfan is your issue solved now? if so please don't forget to mark your post as such.