meta data for this page
  •  

QtWidgets/QApplication: No such file or directory

When compiling project using QT4.8:

fatal error: QtWidgets/QApplication: No such file or directory
 #include <QtWidgets/QApplication>

Wrong include in file (for QT5) Should be

main.cpp
 #include <QApplication>
main.pro
TEMPLATE += app
QT += gui declarative
SOURCES += main.cpp

libQt5OpenGL.so.5: cannot open shared object file

Got keys from plugin meta data ("gstreamermediaplayer")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/mediaservice" ...
loaded library "/usr/lib/qt/plugins/mediaservice/libgstmediaplayer.so"
QLibraryPrivate::loadPlugin failed on "/usr/lib/qt/plugins/mediaservice/libgstmediaplayer.so" : "Cannot load library /usr/lib/qt/plugins/mediaservice/libgstmediaplayer.so: (libQt5OpenGL.so.5: cannot open shared object file: No such file or directory)"
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"