Adding widevine to my QT project doesn't work - qt

I downloaded the widevinecdm.dll file from Chrome, then in my .pro file in QT i enabled propietary codecs as said here i added also the path to the dll like this QTWEBENGINE_CHROMIUM_FLAGS=--widevine-path="C:\Users\FRANC\OneDrive\Desktop\Programacion\Proyectos\C++\widevinecdm.dll" but i still can't play netflix or any streaming service. any ideas?

This problem was solved after building QtWebEngine with proprietary codecs enabled.

Related

QT 5.11 macdeployqt mingw not installed by default?

I do not have the macdeployqt installed on Windows 10 alongside of the windeployqt tool. Nothing relevant or useful appears when searching about this issue so I'm forced to resort to stackoverflow.
windeployqt works fine, however the macdeployqt tool is not there. Is there a way to download the tool from somewhere possibly via the presently non working maintenance tool (due to the default repositories not working for me on QT5.11)?
The macdeploy tool's source code is shipped with Qt sources (qt-src\qttools\src\macdeployqt). Most of it's source code is within #ifdef Q_OS_DARWIN-blocks, and it's linked against Apple's CoreFoundation Framework, so I don't think you will ever get the macdeploy-tool to work on windows. Im curious how you compiled your application that you're trying to bundle; afaik you cannot cross-compile in a meaningful way as the CoreFoundation and other Mac-Frameworks are not available on any other platform.

Enabling mp4/mpeg4/avc support for Qt5 WebEngine on Linux

i installed Qt 5.4.1 x64 on LUbuntu and created an app which uses the new QtWebEngine.
I`m trying to display a html5 page with that component which is using the tag.
All works fine except if I try to playback a mp4 video. The video area remains black. It works if I use other video types like webm/ogg as source.
I know this is due to license restrictions, so that mp4 is deactivated by default in Ubuntu/Linux for Qt.
What is needed in Qt to activate it to allow mp4 playback and on what do I have pay attention in case of license terms (I read that statically linking the library is allowed?) ?
I`ve already tried to copy over the x64 distribution of libffmpegsuo.so which is included in Chrome (2,2Mb) over to the Qt directory to /plugins/webengine/ and replaced that one that was already there (1,1 Mb) but it had no effect.
In Chrome playback works fine btw.
If you need more details like paths etc. please tell me.
Thanks !
You can explicitly enable proprietary codecs (H264, MP3) when compiling Qt WebEngine:
In /path-to-qt-src-dir/qtwebengine execute:
qmake WEBENGINE_CONFIG+=use_proprietary_codecs
You should be able to see in the output that H264 codec is enabled, which is not the default configuration.

QT5 webkit plugin issue

I have application created using QT 5.0.2. When launch the video window, blank screen is observed. I am using win8 64-bit OS(also VLC). There is no issue with QT4 in win7 32-bit. Video streaming is perfect. Using qt webit/webpage classes
Is there any way to check: whether plug-in(mainly to view the video frames) is enabled or not in qt web-kit browser ?
Qt 4.8 and latest version 5.0.2 doesn't support video.. here is the link
[http://qt-project.org/forums/viewthread/23636][1]
You can resolve the issue by using this blog. Sorry I did not tried this. may help you. You need to build qt twice and few more corrections!
[http://blog.enthought.com/open-source/fun-with-qtwebkit-html5-video/][2]
Some one already mentioned the qt open bug against it.
[https://bugreports.qt-project.org/browse/QTBUG-22883][3]

Link to Qt SDK? [duplicate]

I haven't used Qt on Windows in a while. I know that now we're supposed to download the open source version from the Qt Project website.
But the page at http://qt-project.org/downloads has separate links to installers for Qt libraries and Qt Creator. I remember being able to just download the full SDK and get started, but now I have t separately install MinGW, the libraries and Qt Creator.
Can I still get the libraries and Qt Creator in a single bundle, and if yes, where should I look?
Digia distributes the SDK now. Not sure if it's still free. http://qt.digia.com/Product/Qt-SDK/
I just downloaded Qt SDK from http://download.cnet.com/Qt-SDK/3000-2069_4-75305206.html
It seems to be working, although windows says the installer is unsigned.
There is a installation guide plus full SDK (1.2.1), both LINUX/WINDOWS including supplemental files. No non-functional Windows-MinGW installation is required here.

Taglib 1.8 on windows 7 is not working properly like windows XP

I compiled taglib 1.8 using Mingw succesfully, then i integrated it into a Qt project.
The purpuse is to remove ID3 Tag from mp3 files.
This code :
void MainWindow::removeTagFromFile(QByteArray &fileContent)
{
TagLib::ByteVector byteVector(fileContent.constData());
TagLib::ID3v2::FrameFactory *frame = TagLib::ID3v2::FrameFactory::instance();
TagLib::IOStream *vectorStream = new TagLib::ByteVectorStream(byteVector);
TagLib::MPEG::File file(vectorStream, frame);
file.strip();
file.save();
}
Compile and works fine on XP.
Compile and doesn't work as expected on Windows 7.
Taking the ".exe compiled on XP" to seven do not solve the problem.
is it weird ? i'm afraid that this is a bug in Taglib, does it make sense ?
Any idea or an explanation is welcome,
Thanks in advance.
You can download the project here
I'm writing a tutorial in french about details of compilation and integration into a Qt project, i'll write one in english if there is interested people.
Well, finally it's not question of XP or Seven, it's about codecs installed on your computer.
There is a simple solution, you don't need to remove ID3 Tag from mp3 files to get them readable by Phonon, you need just to install K-Lite Codecs.
Explanation :
Phonon backend use DirectShow on Windows to read mp3 files.
The K-Lite Codec Pack is a collection of DirectShow filters, VFW/ACM codecs, and tools. Codecs and DirectShow filters are needed for encoding and decoding audio and video formats.
installing K-Lite solve the problem of Phonon with some mp3 files.
I hope this will save someone out there who suffer from phonon with mp3 files on windows.

Resources