Re: [Interest] Build Qt with Gstreamer on Ubuntu
Thanks all. All advices are very useful. Jean-Michaël Celerier is right, libgstreamer-plugins-base1.0-dev was absent. 2017-01-15 5:12 GMT+07:00 Jean-Michaël Celerier < jeanmichael.celer...@gmail.com>: > You also need libgstreamer-plugins-base1.0-dev > > > > --- > Jean-Michaël Celerier > http://www.jcelerier.name > > On Sat, Jan 14, 2017 at 8:22 PM, Allan Sandfeld Jensen> wrote: > >> On Saturday 14 January 2017, Лагнер, Сергей wrote: >> > Hello all. >> > >> > I'm trying to build qt from source(branch 5.8). The problem I've got >> that >> > Gstreamer does not work for me. >> > Last time I've done following completely from scratch: >> > >> > - git clone https://code.qt.io/qt/qt5.git qt >> > - ./init-repository >> > - ./configure -opensource -nomake examples -nomake tests >> > >> > and I got >> > >> > Qt Multimedia: >> > ALSA ... yes >> > GStreamer 1.0 .. no >> > GStreamer 0.10 . no >> > >> > >> > I got stuck. I don't know how to define what packages are missed >> > Any clue is highly appreciated >> >> Try calling configure with -v so you get all the command and can see what >> fails. Then it is usually just a matter of installing the package that >> contains whatever was missing for the test to fail. >> >> Best regards >> `Allan >> ___ >> Interest mailing list >> Interest@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> > > > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > > ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Build Qt with Gstreamer on Ubuntu
On domingo, 15 de janeiro de 2017 01:56:46 PST Лагнер, Сергей wrote: > Qt Multimedia: > ALSA ... yes > GStreamer 1.0 .. no > GStreamer 0.10 . no See details in qtmultimedia/config.log -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] QWebView and Joomla pages
I go tit working now by adding the header data back into the downloaded html. Thanks a lot Kai! frank On 15/01/17 2:22 PM, Frank Rueter | OHUfx wrote: Hi Kai, my apologies for not replying earlier! Thank you for the explanation, so it sounds like its "should just work". After reading your explanation I realised that the html I am feeding into the WebView comes directly from a data base query and does not include the headers you see in the source of the web page. So I suppose if I find the right CSS files and add the respective lines back to the downloaded html before feeding it into WebView via setHtml it should work?! e.g.: cssHeaders = 'href="/templates/yoo_sync/base.css" />' webView.setHtml(cssHeaders + html) Those particular css files don't give me what I'm aft so I need to dig up the correct one, but should this work? Cheers, frank On 12/01/17 11:29 PM, Kai Koehne wrote: -Original Message- From: Frank Rueter | OHUfx [mailto:fr...@ohufx.com] Sent: Thursday, January 12, 2017 9:05 AM To: Kai Koehne;interest@qt-project.org Subject: Re: [Interest] QWebView and Joomla pages Thanks Kai, thanks for the quick reply! I'd be quite happy to read the CSS files from the server rather than injecting locally, but I know little about CSS and the website has a whole bunch that all happily cross import things. Hi Frank, Usually the setup is that the CMS links to the CSS from the HTML. That is, the page Delivered to the web browser contains lines like This is actually fromview-source:http://www.nukepedia.com/gizmos/filter/efibonacciglow. The web browser will then automatically try to download and apply e.g.http://www.nukepedia.com/components/com_jcomments/tpl/default/style.css?v=21 . I understand that either your CMS is configured wrong, and doesn't include these links, or that you hit a bug in WebEngine where the css for a reason or the other is not fetched, or applied correctly. Can you clarify?? I have attached the css folder from the website as that will tell you more than my ramblings If it's possible to simply point QWebView to that online folder and make sense of it on the fly, I would be perfectly happy. See above - it is something that the .html page itself should link to. The QWebEngineSettings::setUserStyleSheetUrl you found is only a fallback, e.g. if you want to tweak the layout of pages you don't have any control over on the server side. Otherwise I guess I will have to figure out how to merge all these things into a master css. As I mentioned already, you can also link from a CSS to another CSS by using the @import rule . Regards Kai ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] QWebView and Joomla pages
Hi Kai, my apologies for not replying earlier! Thank you for the explanation, so it sounds like its "should just work". After reading your explanation I realised that the html I am feeding into the WebView comes directly from a data base query and does not include the headers you see in the source of the web page. So I suppose if I find the right CSS files and add the respective lines back to the downloaded html before feeding it into WebView via setHtml it should work?! e.g.: cssHeaders = 'href="/templates/yoo_sync/base.css" />' webView.setHtml(cssHeaders + html) Those particular css files don't give me what I'm aft so I need to dig up the correct one, but should this work? Cheers, frank On 12/01/17 11:29 PM, Kai Koehne wrote: -Original Message- From: Frank Rueter | OHUfx [mailto:fr...@ohufx.com] Sent: Thursday, January 12, 2017 9:05 AM To: Kai Koehne; interest@qt-project.org Subject: Re: [Interest] QWebView and Joomla pages Thanks Kai, thanks for the quick reply! I'd be quite happy to read the CSS files from the server rather than injecting locally, but I know little about CSS and the website has a whole bunch that all happily cross import things. Hi Frank, Usually the setup is that the CMS links to the CSS from the HTML. That is, the page Delivered to the web browser contains lines like This is actually from view-source:http://www.nukepedia.com/gizmos/filter/efibonacciglow. The web browser will then automatically try to download and apply e.g. http://www.nukepedia.com/components/com_jcomments/tpl/default/style.css?v=21 . I understand that either your CMS is configured wrong, and doesn't include these links, or that you hit a bug in WebEngine where the css for a reason or the other is not fetched, or applied correctly. Can you clarify?? I have attached the css folder from the website as that will tell you more than my ramblings If it's possible to simply point QWebView to that online folder and make sense of it on the fly, I would be perfectly happy. See above - it is something that the .html page itself should link to. The QWebEngineSettings::setUserStyleSheetUrl you found is only a fallback, e.g. if you want to tweak the layout of pages you don't have any control over on the server side. Otherwise I guess I will have to figure out how to merge all these things into a master css. As I mentioned already, you can also link from a CSS to another CSS by using the @import rule . Regards Kai ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Build Qt with Gstreamer on Ubuntu
You also need libgstreamer-plugins-base1.0-dev --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Jan 14, 2017 at 8:22 PM, Allan Sandfeld Jensenwrote: > On Saturday 14 January 2017, Лагнер, Сергей wrote: > > Hello all. > > > > I'm trying to build qt from source(branch 5.8). The problem I've got that > > Gstreamer does not work for me. > > Last time I've done following completely from scratch: > > > > - git clone https://code.qt.io/qt/qt5.git qt > > - ./init-repository > > - ./configure -opensource -nomake examples -nomake tests > > > > and I got > > > > Qt Multimedia: > > ALSA ... yes > > GStreamer 1.0 .. no > > GStreamer 0.10 . no > > > > > > I got stuck. I don't know how to define what packages are missed > > Any clue is highly appreciated > > Try calling configure with -v so you get all the command and can see what > fails. Then it is usually just a matter of installing the package that > contains whatever was missing for the test to fail. > > Best regards > `Allan > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Build Qt with Gstreamer on Ubuntu
On Saturday 14 January 2017, Лагнер, Сергей wrote: > Hello all. > > I'm trying to build qt from source(branch 5.8). The problem I've got that > Gstreamer does not work for me. > Last time I've done following completely from scratch: > > - git clone https://code.qt.io/qt/qt5.git qt > - ./init-repository > - ./configure -opensource -nomake examples -nomake tests > > and I got > > Qt Multimedia: > ALSA ... yes > GStreamer 1.0 .. no > GStreamer 0.10 . no > > > I got stuck. I don't know how to define what packages are missed > Any clue is highly appreciated Try calling configure with -v so you get all the command and can see what fails. Then it is usually just a matter of installing the package that contains whatever was missing for the test to fail. Best regards `Allan ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Build Qt with Gstreamer on Ubuntu
Hello all. I'm trying to build qt from source(branch 5.8). The problem I've got that Gstreamer does not work for me. Last time I've done following completely from scratch: - git clone https://code.qt.io/qt/qt5.git qt - ./init-repository - ./configure -opensource -nomake examples -nomake tests and I got Qt Multimedia: ALSA ... yes GStreamer 1.0 .. no GStreamer 0.10 . no But I think I've installed all libraries related to gstreamer 1.0 on my machine. Little more information about my environment ~/Labs/qt $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" ~/Labs/qt $ pkg-config --cflags --libs gstreamer-1.0 -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 ~/Labs/qt $ aptitude search ~igstreamer1.0 i gstreamer1.0-alsa - GStreamer plugin for ALSA i gstreamer1.0-libav - libav plugin for GStreamer i gstreamer1.0-nice - ICE library (GStreamer plugin) i gstreamer1.0-plugins-bad- GStreamer plugins from the "bad" set i A gstreamer1.0-plugins-bad-faad - GStreamer faad plugin from the "bad" set i A gstreamer1.0-plugins-bad-videop - GStreamer videoparsers plugin from the "ba i gstreamer1.0-plugins-base - GStreamer plugins from the "base" set i A gstreamer1.0-plugins-base:i386 - GStreamer plugins from the "base" set i gstreamer1.0-plugins-good - GStreamer plugins from the "good" set i gstreamer1.0-plugins-ugly - GStreamer plugins from the "ugly" set i A gstreamer1.0-plugins-ugly-amr - GStreamer plugins from the "ugly" set i gstreamer1.0-pulseaudio - GStreamer plugin for PulseAudio i gstreamer1.0-tools - Tools for use with GStreamer i gstreamer1.0-vaapi - VA-API plugins for GStreamer i gstreamer1.0-x - GStreamer plugins for X11 and Pango i libgstreamer1.0-0 - Core GStreamer libraries and elements i A libgstreamer1.0-0:i386 - Core GStreamer libraries and elements i libgstreamer1.0-dev - GStreamer core development files I got stuck. I don't know how to define what packages are missed Any clue is highly appreciated -- Best regards, Sergey Lagner ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest