[kdenlive] building melt on Qt5 on ubuntu

Roger Morton ttguy1 at gmail.com
Sat Dec 27 04:37:47 UTC 2014


So I have been trying to do a melt build under Qt5.
I have  Dan's build_melt.sh as a starting point. It would sucesfully build
against Qt4.
I changed the  QT_INCLUDE_DIR to
QT_INCLUDE_DIR="/usr/include/qt5"

(/usr/include/x86_64-linux-gnu/qt5 - the include dir suggested at
https://community.kde.org/Kdenlive/Development/KF5 for kbuntu does not
exist on my Ubuntu 14.04 instal. But /usr/include/qt5 does.

I also made
QT_LIB_DIR="/usr/lib/x86_64-linux-gnu/"

as per https://community.kde.org/Kdenlive/Development/KF5

However, my build fails with
make[2]: Entering directory
`/home/god/my_local_build/melt/src/mlt/src/modules/qt'

g++ -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui
-I/usr/include/qt5/QtXml -I/usr/include/qt5/QtSvg
-I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtOpenGL
-I/home/god/my_local_build/melt/20141227/include -I/usr/include/eigen3/
-I../.. -I/home/god/my_local_build/melt/20141227/include
-I/usr/include/eigen3/ -DARCH_X86_64 -Wall -DPIC   -O2 -pipe
-fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE
-DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread
-DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts
-fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64
-Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math
-DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fPIC -pthread -DUSE_QT_OPENGL -I/usr/include/libexif
-DUSE_EXIF  -Wno-deprecated   -c -o kdenlivetitle_wrapper.o
kdenlivetitle_wrapper.cpp
kdenlivetitle_wrapper.cpp:30:28: fatal error: QGraphicsSvgItem: No such
file or directory
 #include <QGraphicsSvgItem>
                            ^
compilation terminated.

I can find QGraphicsSvgItem in /usr/include/qt*4*/Qt/qgraphicssvgitem.h
but not in  /usr/include/qt*5*

Why don't I have qgraphicssvgitem.h headers I wonder?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20141227/638ec77b/attachment.html>


More information about the kdenlive mailing list