I have seen 2 related questions:
but none of them solved mine. So the error is just what the title said and there are same 76 errors in total:
/videowidgetsurface.cpp:15: error: undefined reference to `QAbstractVideoSurface::QAbstractVideoSurface(QObject*)'
I use Qt4.8.6
, QtCreator3.3.2
, Ubuntu14.04(i386)
.
The .pro file is like this:
QT += core gui multimediakwidgets widgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Test1
TEMPLATE = app
SOURCES += main.cpp \
videowidgetsurface.cpp \
videoplayer.cpp \
videowidget.cpp
HEADERS += \
videowidgetsurface.h \
videoplayer.h \
videowidget.h
I tried
QT += core gui multimedia
didn't work and this version of Qt4
doesn't include QtMultimedia
module.
This is from an example of Qt official tutorial. Any ideas? Thanks in advance.