Qtav
-
i want to compile qtav for android with Qt 5.14 which version off ffmpeg i have to download
-
Hi,
QtAV is not an official Qt module, you have to check with its author.
-
Hi
Site saysCompatibility: QtAV can be built with both Qt4 and Qt5, FFmpeg(>=1.0) and Libav (>=9.0). Latest FFmpeg release is recommended.
so i think any will do :)
-
i am giving latest ffmpeg i am getting error
avutil is required, but compiler can not find it.
-
@satyanarayana143
ok
But when you do not show the exact error you get, nobody
will be able to help you at all. -
Running Windows Runtime device detection.
No winrtrunner.exe found.
2020-03-07T16:52:43 Clang Code Model: Error: The clangbackend executable "C:\Qt\Qt5.12.1\Tools\QtCreator\bin\clangbackend.exe" could not be started (timeout after 10000ms).
Project MESSAGE: BUILD_DIR=C:/Users/SYS/Downloads/QtAV_Andriod_Qt5.14/QtAV
Project MESSAGE: MAKEFILE_GENERATOR=UNIX
Project MESSAGE: To disable config tests, you can use 1 of the following methods
Project MESSAGE: 1. create '.qmake.conf' in the root source dir, add 'CONFIG += no_config_tests'(Qt5)
Project MESSAGE: 2. pass 'CONFIG += no_config_tests' or '-config no_config_tests' to qmake
Project MESSAGE: 3. add 'CONFIG += no_config_tests' in C:/Users/SYS/Downloads/QtAV_Andriod_Qt5.12.1/QtAV/user.conf
Project MESSAGE: To manually set a config test result to true, disable config tests and enable config_name like above
Project ERROR: avutil is required, but compiler can not find it -
Where is your Android build of ffmpeg ?
-
includes in Qt includes files
libs in Qt libs
bin in Qt bin folder i copied ffmpeg libs,includes and bin to qt installed folder
-
Why did you put them there ?
You really should have a place for your third party content that's clearly labeled and separated between architectures. The moment you update your Qt installation for a new version, you will have to move again all your third party stuff because nothing will be found anymore.
-
i am giving ffmpeg lib and include path in environment variable i am getting
this errorProject ERROR: avutil is required, but compiler can not find it
so i copied in qt installation directory
-
What environment variable ?
That's the kind of information your have to put in your .pro file.
-
INCLUDEPATH += $$PWD/ffmpeg/include
LIBS += -L$$PWD/ffmpeg/libin pro file i included like this but i am getting error
Project ERROR: avutil is required, but compiler can not find it
-
You have ffmpeg libraries in your application sources now ?
You just wrote that you have put them in your Qt installation. -
previous i put into QT installation directory you has given suggestion to put
That's the kind of information your have to put in your .pro file.
i has changed to put in library
INCLUDEPATH += $$PWD/ffmpeg/include
LIBS += -L$$PWD/ffmpeg/liband ffmpeg folder is in pro folder
-
@satyanarayana143 said in Qtav:
previous i put into QT installation directory you has given suggestion to put
I never suggested that you put anything in your Qt installation.
What exactly does
$$PWD/ffmpeg/lib
contain ? -
That's the kind of information your have to put in your .pro file.
you has written like this
-
@satyanarayana143 said in Qtav:
That's the kind of information your have to put in your .pro file.
You need to put the information where to find ffmpeg headers/libs into your pro file, NOT ffmpeg itself!
Please read more carefully!