kibsoft / QtMEL

Qt Media Encoding Library
GNU Lesser General Public License v2.1
67 stars 16 forks source link

error: cannot find -libsQt5 AND error: cannot find -lqtmeld1 #42

Open Chabbivinayak opened 6 years ago

Chabbivinayak commented 6 years ago

Hi, I'm new to QT coding, and I want to record video using Qt, I tried building cameraExample, but I'm getting error as cannot find -libsQt5 AND error: cannot find -lqtmeld1. I'm using Qt 5.6.1 and MinGw 5.6.3 and I copied QtMEL folder to C:\Qt\Qt5.6.3\Examples\Qt-5.6.3\kibsoft-QtMEL-b4e4d5b I edited CameraExample.pro to

add QtMEL library

INCLUDEPATH += C:/Qt/Qt5.6.3/Examples/Qt-5.6.3/kibsoft-QtMEL-b4e4d5b/include

greaterThan(QT_MAJOR_VERSION, 4) { LIBS += -L "C:/Qt/Qt5.6.3/Examples/Qt-5.6.3/kibsoft-QtMEL-b4e4d5b/" -libsQt5 } else { LIBS += -L "C:/Qt/Qt5.6.3/Examples/Qt-5.6.3/kibsoft-QtMEL-b4e4d5b/"libsQt4 }

I don't know whether I edited correctly or not. Please help me . Thanks in advance

kibsoft commented 6 years ago

Hello I have freezed the development several years ago, therefore there are no any newest QtMEL builds. This means you can't use it with Qt 5.6.x because QtMEL was built against Qt 5.0, as far as I remember. So, if you want to use it you have to build QtMEL itself with your Qt version and your compiler. But I can say this is not a trivial task to build it against newer Qt and FFmpeg.

Chabbivinayak commented 6 years ago

Thank you for reply, Then I will try with Qt5.0 version. I hope with Qt5.0 it works fine.