Skip to content

Commit

Permalink
Register Qt QML producer, add header files and flags
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilam512 committed Aug 3, 2019
1 parent fb3d486 commit b70ae24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/qt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ include ../../../config.mak
include config.mak

CFLAGS := -I../.. -I.$(CFLAGS)
#CFLAGS := -I../.. $(CFLAGS)


LDFLAGS := -L../../framework -lmlt -lpthread -lm -L../../mlt++ -lmlt++ -L../ -lQmlRenderer $(LDFLAGS)
#LDFLAGS := -L../../framework -lmlt -lpthread -lm -L../../mlt++ -lmlt++ $(LDFLAGS)


TARGET = ../libmltqt$(LIBSUF)

Expand Down Expand Up @@ -45,7 +49,7 @@ CXXFLAGS := $(QTCXXFLAGS) $(CXXFLAGS) $(CFLAGS) $(EXIFCXXFLAGS) $(KDECXXFLAGS) -

ifdef USE_CPP11
ifneq (, $(shell $(CXX) --version | grep -is -e g++ -e clang))
CXXFLAGS += -std=c++11
CXXFLAGS += -std=c++14
endif
endif

Expand Down
1 change: 1 addition & 0 deletions src/modules/qt/factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ MLT_REPOSITORY
MLT_REGISTER( producer_type, "qimage", producer_qimage_init );
MLT_REGISTER( producer_type, "qtext", producer_qtext_init );
MLT_REGISTER( producer_type, "kdenlivetitle", producer_kdenlivetitle_init );
MLT_REGISTER( producer_type, "qml", producer_qml_init );
MLT_REGISTER( transition_type, "qtblend", transition_qtblend_init );
MLT_REGISTER( filter_type, "qtblend", filter_qtblend_init );
MLT_REGISTER_METADATA( transition_type, "qtblend", metadata, "transition_qtblend.yml" );
Expand Down

0 comments on commit b70ae24

Please sign in to comment.