Thanks!

On Wednesday, September 27, 2017, Dmitriy Purgin wrote:
> Hey Zoltan,
> 
> the simplest and, I guess, the best way would be to add these packages as
> dependencies to your RPM .yaml like this (see [1] for the full file and
> explanation in [2]):
> 
> # Runtime dependencies which are not automatically detected
> Requires:
>   - qt5-qtmultimedia-plugin-audio-pulseaudio
>   - qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
> 
> With these lines your RPM will automatically install the dependencies on
> both emulator and device targets.
> 
> Another way to do it would be to log in as root to the emulator using
> instructions in [3] and install the packages with zypper or
> pkcon---whichever is used in the emulator these days.
> 
> # pkcon install qt5-qtmultimedia-plugin-audio-pulseaudio
> qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
> 
> or
> 
> # zypper install qt5-qtmultimedia-plugin-audio-pulseaudio
> qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
> 
> 
> 
> Cheers
> Dmitriy
> 
> [1] https://github.com/dpurgin/harbour-callrecorder/blob/master/rpm/harbour-
> callrecorder.yaml#L49-L50
> [2] https://sailfishos.org/wiki/Application_SDK_Packaging_Apps
> [3]
> https://sailfishos.org/wiki/Application_SDK_FAQ#How_do_I_login_into_the_emulator_or_build_engine.3F
> 
> 
> On Wed, Sep 27, 2017 at 9:51 AM, Zoltán Lutor <zoltan.lu...@gmail.com>
> wrote:
> 
> > Hi Dmitry,
> >
> > Could you give me some hints how to do it?
> >
> > I have to admit I have almost zero experience in in this domain...
> >
> > Thx,
> >
> > Zoltan
> >
> > On Tuesday, September 26, 2017, Dmitriy Purgin wrote:
> > > Hi Zoltan,
> > >
> > > You should install the media backend for QtMultimedia in the emulator.
> > Try
> > > installing qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer and/or
> > > qt5-qtmultimedia-plugin-audio-pulseaudio.
> > >
> > > Cheers
> > > Dmitriy
> > >
> > > On Tue, Sep 26, 2017 at 10:48 PM, Zoltán Lutor <zoltan.lu...@gmail.com>
> > > wrote:
> > >
> > > > as pointed out @Together.com
> > > > <https://together.jolla.com/question/167894/devel-qml-audio-
> > issues-on-sailfish/>,
> > > > no issues on real divice, QML Audio works - but emulator gives this
> > warning
> > > > (and no sound)...
> > > >
> > > >
> > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source
> > =link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> > Virus-free.
> > > > www.avast.com
> > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source
> > =link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> > > > <#m_-105307394941318761_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > > >
> > > > 2017-09-25 21:06 GMT+02:00 Zoltán Lutor <zoltan.lu...@gmail.com>:
> > > >
> > > >> not really...
> > > >>
> > > >> I can recall there were some issues from playing audio from qrc -
> > maybe
> > > >> with 5.6 - but I do not remember the details...
> > > >>
> > > >> Anyway, what is the preferred way to play audio in Sailfish?
> > > >>
> > > >> Br,
> > > >>
> > > >> Zoltan
> > > >>
> > > >>
> > > >> 2017-09-25 17:54 GMT+02:00 Tone Kastlunger <users.giulie...@gmail.com
> > >:
> > > >>
> > > >>> Have you tried against vanilla 5.6 qt?
> > > >>>
> > > >>> On Mon, Sep 25, 2017 at 6:38 PM, Zoltán Lutor <
> > zoltan.lu...@gmail.com>
> > > >>> wrote:
> > > >>>
> > > >>>> HI,
> > > >>>>
> > > >>>> I'm porting our game
> > > >>>> <https://play.google.com/store/apps/details?id=com.forfictio
> > nmobile.goobleinvasion&hl=en>
> > > >>>> from Android to Sailfish and faced one issue: game audio does not
> > play.
> > > >>>>
> > > >>>> [W] unknown:0 - defaultServiceProvider::requestService(): no
> > service
> > > >>>> found for - "org.qt-project.qt.mediaplayer"
> > > >>>>
> > > >>>> Solution was OK on Android with Qt 5.9:
> > http://doc.qt.io/qt-5/qml-qtmu
> > > >>>> ltimedia-audio.html
> > > >>>> Any suggestion/working example?
> > > >>>>
> > > >>>> Br,
> > > >>>>
> > > >>>> Zoltan@FORFICTIONmobile
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> _______________________________________________
> > > >>>> SailfishOS.org Devel mailing list
> > > >>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
> > > >>>> shos.org
> > > >>>>
> > > >>>
> > > >>>
> > > >>> _______________________________________________
> > > >>> SailfishOS.org Devel mailing list
> > > >>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
> > > >>> shos.org
> > > >>>
> > > >>
> > > >>
> > > >
> > > > _______________________________________________
> > > > SailfishOS.org Devel mailing list
> > > > To unsubscribe, please send a mail to devel-unsubscribe@lists.
> > > > sailfishos.org
> > > >
> > >
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
> > shos.org
> >
>
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to