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
Linux Qt5 qplatformnativeinterface.h error #151
Comments
Which version of Qt are you using? I'm using Qt 5.2 on linux and it compiles just fine. |
Hi sladage, As can be seen from the includes in the make, version 5.1.1. I've seen from google that the platformnativeinterface.h file is present in Qt4 v4.4.8.5 I had on my system a while back. Should I upgrade my Qt version to 5.2? Will if I have to... |
I would try qt 5.2 for that version should definitely work. |
sladage, thanks man, building it now ... |
xv is broken now. and i should not use private header |
I removed qplatformnativeinterface.h |
wang-bin, Thanks, that did it! :) All working now. |
I'm trying to compile QtAV but run into problems I can't solve! No solution on Google either. I would really, really appreciate any help/advice you may have for me.
I'm on :
Linux 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux
(aka SolydK - testing).
ffmpeg local build - works, opencv-2.4.7 local build - works
on make: the following error occurs:
g++ -c -m64 -pipe -isystem /home/leon/qt/QtAV/src -isystem /home/leon/qt/QtAV/src/.. -O2 -Wall -W -D_REENTRANT -fPIC -DBUILD_QTAV_LIB -D__STDC_CONSTANT_MACROS -DQTAV_HAVE_SWRESAMPLE=1 -DQTAV_HAVE_PORTAUDIO=1 -DQTAV_HAVE_OPENAL=1 -DQTAV_HAVE_XV=1 -DQTAV_HAVE_GL=1 -DQTAV_HAVE_VAAPI=1 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I/home/leon/qt/QtAV/src -I/home/leon/qt/QtAV/src -I/home/leon/qt/QtAV -I/home/leon/qt/QtAV/src/QtAV -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtGui/5.1.1 -I/usr/include/qt5/QtGui/5.1.1/QtGui -I/usr/include/qt5/QtCore -I../.moc/5.1.1/QtAV -I. -o ../.obj/QtAV_linux_x86_64/XVRenderer.o /home/leon/qt/QtAV/src/XVRenderer.cpp
In file included from /home/leon/qt/QtAV/src/XVRenderer.cpp:27:0:
/home/leon/qt/QtAV/src/QtAV/private/XVRenderer_p.h:29:42: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
#include <qpa/qplatformnativeinterface.h>
^
compilation terminated.
make[1]: *** [../.obj/QtAV_linux_x86_64/XVRenderer.o] Error 1
make[1]: Leaving directory `/home/leon/qt/QtAV/build/src'
make: *** [sub-src-libQtAV-pro-make_first] Error 2
There is no "qplatformnativeinterface.h" on my Qt5 installation or anywhere else on my system.
Thanks so much in advance, I really appreciate any help.
The text was updated successfully, but these errors were encountered: