Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error, Qt C++ MinGW32 5.99, FFMPEG 6.0.1 #413

Closed
binarysoft2011 opened this issue Nov 10, 2023 · 1 comment
Closed

Build Error, Qt C++ MinGW32 5.99, FFMPEG 6.0.1 #413

binarysoft2011 opened this issue Nov 10, 2023 · 1 comment

Comments

@binarysoft2011
Copy link

I want to build with Qt MinGW 32bit.
23:52:18: Running steps for project AVPlay...
23:52:18: Configuration unchanged, skipping qmake step.
23:52:18: Starting: "C:\Qt\Qt5.9.9\Tools\mingw530_32\bin\mingw32-make.exe" -j12
C:/Qt/Qt5.9.9/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'D:/QtTest/AppData/QtAVPlayer-master/build-AVPlay-Desktop_Qt_5_9_9_MinGW_32bit-Debug'
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavplayer.o ../src/QtAVPlayer/qavplayer.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavcodec.o ../src/QtAVPlayer/qavcodec.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavframecodec.o ../src/QtAVPlayer/qavframecodec.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavaudiocodec.o ../src/QtAVPlayer/qavaudiocodec.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavvideocodec.o ../src/QtAVPlayer/qavvideocodec.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavsubtitlecodec.o ../src/QtAVPlayer/qavsubtitlecodec.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavdemuxer.o ../src/QtAVPlayer/qavdemuxer.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavpacket.o ../src/QtAVPlayer/qavpacket.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavframe.o ../src/QtAVPlayer/qavframe.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavstreamframe.o ../src/QtAVPlayer/qavstreamframe.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavvideoframe.o ../src/QtAVPlayer/qavvideoframe.cpp
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DQT_AVPLAYER_MULTIMEDIA -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../AVPlay -I. -I../src -I../../FFMPEG_BUILD/ffmpeg_build/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtMultimedia -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtWidgets -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtGui -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtANGLE -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtNetwork -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtConcurrent -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.9.9/5.9.9/mingw53_32/mkspecs/win32-g++ -o debug/qavaudioframe.o ../src/QtAVPlayer/qavaudioframe.cpp
../src/QtAVPlayer/qavvideoframe.cpp:355:48: warning: missing terminating ' character
auto maybeLum = b.den != 0 ? 10'000.0 * qreal(b.num) / qreal(b.den) : std::optional{};
^
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavpacket_p.h:22,
from ../src/QtAVPlayer/qavcodec_p.h:22,
from ../src/QtAVPlayer/qavcodec.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavframecodec_p.h:22,
from ../src/QtAVPlayer/qavframecodec.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavstreamframe.h:11,
from ../src/QtAVPlayer/qavsubtitleframe.h:11,
from ../src/QtAVPlayer/qavsubtitlecodec_p.h:22,
from ../src/QtAVPlayer/qavsubtitlecodec.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavframecodec_p.h:22,
from ../src/QtAVPlayer/qavaudiocodec_p.h:22,
from ../src/QtAVPlayer/qavaudiocodec.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavframecodec_p.h:22,
from ../src/QtAVPlayer/qavvideocodec_p.h:22,
from ../src/QtAVPlayer/qavvideocodec.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
mingw32-make[1]: *** [debug/qavcodec.o] Error 1
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: *** [debug/qavframecodec.o] Error 1
mingw32-make[1]: *** [debug/qavsubtitlecodec.o] Error 1
In file included from ../src/QtAVPlayer/qavplayer.cpp:16:0:
../src/QtAVPlayer/qavpacketqueue_p.h: In member function 'bool QAVQueueClock::wait(bool, double, double, double)':
../src/QtAVPlayer/qavpacketqueue_p.h:54:24: error: 'isnan' was not declared in this scope
if (isnan(delay) || delay <= 0 || delay > maxFrameDuration)
^
../src/QtAVPlayer/qavpacketqueue_p.h:54:24: note: suggested alternative:
In file included from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/random:38:0,
from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/bits/stl_algo.h:66,
from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/algorithm:62,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:109,
from ../src/QtAVPlayer/qtavplayerglobal.h:11,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavvideoframe.h:11,
from ../src/QtAVPlayer/qavplayer.h:11,
from ../src/QtAVPlayer/qavplayer.cpp:8:
C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/cmath:641:5: note: 'std::isnan'
isnan(_Tp __x)
^
In file included from ../src/QtAVPlayer/qavplayer.cpp:16:0:
../src/QtAVPlayer/qavpacketqueue_p.h:60:28: error: 'isnan' was not declared in this scope
if (!isnan(diff) && fabs(diff) < maxFrameDuration) {
^
../src/QtAVPlayer/qavpacketqueue_p.h:60:28: note: suggested alternative:
In file included from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/random:38:0,
from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/bits/stl_algo.h:66,
from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/algorithm:62,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:109,
from ../src/QtAVPlayer/qtavplayerglobal.h:11,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavvideoframe.h:11,
from ../src/QtAVPlayer/qavplayer.h:11,
from ../src/QtAVPlayer/qavplayer.cpp:8:
C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/cmath:641:5: note: 'std::isnan'
isnan(_Tp __x)
^
Makefile.Debug:646: recipe for target 'debug/qavcodec.o' failed
Makefile.Debug:750: recipe for target 'debug/qavframecodec.o' failed
Makefile.Debug:1088: recipe for target 'debug/qavsubtitlecodec.o' failed
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavstreamframe.h:11,
from ../src/QtAVPlayer/qavstreamframe.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavaudioframe.h:11,
from ../src/QtAVPlayer/qavaudioframe.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
../src/QtAVPlayer/qavdemuxer.cpp:74:37: error: use of deleted function 'std::atomic::atomic(const std::atomic&)'
std::atomic_bool abortRequest = false;
^
In file included from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qatomic_cxx11.h:45:0,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qbasicatomic.h:53,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qatomic.h:46,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:1158,
from ../src/QtAVPlayer/qtavplayerglobal.h:11,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavpacket_p.h:22,
from ../src/QtAVPlayer/qavdemuxer_p.h:22,
from ../src/QtAVPlayer/qavdemuxer.cpp:8:
C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/atomic:66:5: note: declared here
atomic(const atomic&) = delete;
^
C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool)
constexpr atomic(bool __i) noexcept : _M_base(__i) { }
^
mingw32-make[1]: *** [debug/qavaudiocodec.o] Error 1
mingw32-make[1]: *** [debug/qavvideocodec.o] Error 1
../src/QtAVPlayer/qavplayer.cpp: In function 'bool isLastFrame(const QAVStreamFrame&, const QAVDemuxer&)':
../src/QtAVPlayer/qavplayer.cpp:648:32: error: 'isnan' was not declared in this scope
if (!isnan(frame.duration()) && frame.duration() > 0) {
^
../src/QtAVPlayer/qavplayer.cpp:648:32: note: suggested alternative:
In file included from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/random:38:0,
from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/bits/stl_algo.h:66,
from C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/algorithm:62,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:109,
from ../src/QtAVPlayer/qtavplayerglobal.h:11,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavvideoframe.h:11,
from ../src/QtAVPlayer/qavplayer.h:11,
from ../src/QtAVPlayer/qavplayer.cpp:8:
C:/Qt/Qt5.9.9/Tools/mingw530_32/i686-w64-mingw32/include/c++/cmath:641:5: note: 'std::isnan'
isnan(_Tp __x)
^
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavpacket_p.h:22,
from ../src/QtAVPlayer/qavdemuxer_p.h:22,
from ../src/QtAVPlayer/qavdemuxer.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVDemuxerPrivate*]':
../src/QtAVPlayer/qavdemuxer_p.h:107:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavpacket_p.h:22,
from ../src/QtAVPlayer/qavpacket.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
mingw32-make[1]: *** [debug/qavstreamframe.o] Error 1
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavframe.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
mingw32-make[1]: *** [debug/qavaudioframe.o] Error 1
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVIODevicePrivate*]':
../src/QtAVPlayer/qaviodevice_p.h:43:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavvideoframe.h:11,
from ../src/QtAVPlayer/qavplayer.h:11,
from ../src/QtAVPlayer/qavplayer.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate*]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPlayerPrivate*]':
../src/QtAVPlayer/qavplayer.h:147:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVDemuxerPrivate*]':
../src/QtAVPlayer/qavdemuxer_p.h:107:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVIODevicePrivate*]':
../src/QtAVPlayer/qaviodevice_p.h:43:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVFilterPrivate*]':
../src/QtAVPlayer/qavfilter_p.h:47:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVInOutFilterPrivate*]':
../src/QtAVPlayer/qavinoutfilter_p.h:45:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVFilterGraphPrivate*]':
../src/QtAVPlayer/qavfiltergraph_p.h:57:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
../src/QtAVPlayer/qavplayer.cpp: In instantiation of 'void QAVPlayerPrivate::dispatch(T) [with T = QAVPlayerPrivate::doLoad()::<lambda()>]':
../src/QtAVPlayer/qavplayer.cpp:523:6: required from here
../src/QtAVPlayer/qavplayer.cpp:294:30: error: no matching function for call to 'QMetaObject::invokeMethod(QAVPlayer*&, QAVPlayerPrivate::doLoad()::<lambda()>&, std::nullptr_t)'
QMetaObject::invokeMethod(q_ptr, fn, nullptr);
^
In file included from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobject.h:46:0,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qsharedpointer_impl.h:64,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qsharedpointer.h:48,
from C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/QSharedPointer:1,
from ../src/QtAVPlayer/qavstream.h:13,
from ../src/QtAVPlayer/qavstreamframe.h:12,
from ../src/QtAVPlayer/qavframe.h:12,
from ../src/QtAVPlayer/qavvideoframe.h:11,
from ../src/QtAVPlayer/qavplayer.h:11,
from ../src/QtAVPlayer/qavplayer.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:406:17: note: candidate: static bool QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
static bool invokeMethod(QObject obj, const char member,
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:406:17: note: candidate expects 14 arguments, 3 provided
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:420:24: note: candidate: static bool QMetaObject::invokeMethod(QObject
, const char
, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
static inline bool invokeMethod(QObject obj, const char member,
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:420:24: note: no known conversion for argument 2 from 'QAVPlayerPrivate::doLoad()::<lambda()>' to 'const char
'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:437:24: note: candidate: static bool QMetaObject::invokeMethod(QObject
, const char*, Qt::ConnectionType, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
static inline bool invokeMethod(QObject obj, const char member,
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:437:24: note: no known conversion for argument 2 from 'QAVPlayerPrivate::doLoad()::<lambda()>' to 'const char
'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:454:24: note: candidate: static bool QMetaObject::invokeMethod(QObject
, const char*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
static inline bool invokeMethod(QObject obj, const char member,
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qobjectdefs.h:454:24: note: no known conversion for argument 2 from 'QAVPlayerPrivate::doLoad()::<lambda()>' to 'const char
'
mingw32-make[1]: *** [debug/qavframe.o] Error 1
mingw32-make[1]: *** [debug/qavpacket.o] Error 1
In file included from ../src/QtAVPlayer/qtavplayerglobal.h:11:0,
from ../src/QtAVPlayer/qavframe.h:11,
from ../src/QtAVPlayer/qavvideoframe.h:11,
from ../src/QtAVPlayer/qavvideoframe.cpp:8:
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamPrivate
]':
../src/QtAVPlayer/qavstream.h:69:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
template static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
^
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVStreamFramePrivate*]':
../src/QtAVPlayer/qavstreamframe.h:40:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVPacketPrivate*]':
../src/QtAVPlayer/qavpacket_p.h:53:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h: In instantiation of 'typename Wrapper::pointer qGetPtrHelper(const Wrapper&) [with Wrapper = std::unique_ptr; typename Wrapper::pointer = QAVCodecPrivate*]':
../src/QtAVPlayer/qavcodec_p.h:55:5: required from here
C:/Qt/Qt5.9.9/5.9.9/mingw53_32/include/QtCore/qglobal.h:999:117: error: 'const class std::unique_ptr' has no member named 'data'
mingw32-make[1]: *** [debug/qavdemuxer.o] Error 1
Makefile.Debug:852: recipe for target 'debug/qavaudiocodec.o' failed
Makefile.Debug:987: recipe for target 'debug/qavvideocodec.o' failed
Makefile.Debug:1549: recipe for target 'debug/qavstreamframe.o' failed
Makefile.Debug:1790: recipe for target 'debug/qavaudioframe.o' failed
Makefile.Debug:1447: recipe for target 'debug/qavframe.o' failed
Makefile.Debug:1347: recipe for target 'debug/qavpacket.o' failed
Makefile.Debug:1244: recipe for target 'debug/qavdemuxer.o' failed
Makefile.Debug:542: recipe for target 'debug/qavplayer.o' failed
Makefile.Debug:1691: recipe for target 'debug/qavvideoframe.o' failed
mingw32-make[1]: Leaving directory 'D:/QtTest/AppData/QtAVPlayer-master/build-AVPlay-Desktop_Qt_5_9_9_MinGW_32bit-Debug'
Makefile:36: recipe for target 'debug' failed
mingw32-make[1]: *** [debug/qavplayer.o] Error 1
mingw32-make[1]: *** [debug/qavvideoframe.o] Error 1
mingw32-make: *** [debug] Error 2
23:52:24: The process "C:\Qt\Qt5.9.9\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project AVPlay (kit: Desktop Qt 5.9.9 MinGW 32bit)
When executing step "Make"

@valbok
Copy link
Owner

valbok commented Nov 11, 2023

Hi, thanks for you contribution. Unfortunately Qt 5.9 is not supported. Only >= 5.12

@valbok valbok closed this as completed Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants