]> git.sesse.net Git - mlt/commitdiff
kdenlivetitle: added QtXml during configure, add rescource to producer
authorMarco Gittler <g.marco@freenet.de>
Sat, 18 Jul 2009 22:25:01 +0000 (00:25 +0200)
committerMarco Gittler <g.marco@freenet.de>
Sat, 18 Jul 2009 22:25:01 +0000 (00:25 +0200)
src/modules/qimage/configure
src/modules/qimage/producer_kdenlivetitle.c

index 68f1f29ec5d2fe59c26fcdd9c1861e4cce17e958..cf59012bafb15dfc855aa7fc5b982cabec551004 100755 (executable)
@@ -72,8 +72,8 @@ else
                qt4_found=true
                echo "#define USE_QT4" > config.h
                echo "USE_QT4=1" > config.mak
-               echo QTCXXFLAGS=$(pkg-config --cflags QtCore QtGui) >> config.mak
-               echo QTLIBS=$(pkg-config --libs QtCore QtGui) >> config.mak
+               echo QTCXXFLAGS=$(pkg-config --cflags QtCore QtGui QtXml ) >> config.mak
+               echo QTLIBS=$(pkg-config --libs QtCore QtGui QtXml) >> config.mak
                
        elif [ -d "$qimage_libdir" -a -d "$qimage_includedir" ]
        then
@@ -97,8 +97,8 @@ else
                        echo "USE_QT4=1" >> config.mak
                        if [ -d "$qimage_libdir/QtGui.framework" ]
                        then
-                               echo QTCXXFLAGS=$(pkg-config --cflags QtCore QtGui) >> config.mak
-                               echo QTLIBS=$(pkg-config --libs QtCore QtGui) >> config.mak
+                               echo QTCXXFLAGS=$(pkg-config --cflags QtCore QtGui QtXml ) >> config.mak
+                               echo QTLIBS=$(pkg-config --libs QtCore QtGui QtXml) >> config.mak
                        else
                                echo QTCXXFLAGS=-I$qimage_includedir >> config.mak
                                echo QTLIBS=-L$qimage_libdir -lQtCore -lQtGui >> config.mak
index 64a8e8710a4ba9a2a0f1cd2c8ddf596a4230f873..6ed1ec690e2e12b7e83d22b9a68d8d124d2688db 100644 (file)
@@ -112,6 +112,9 @@ mlt_producer producer_kdenlivetitle_init( mlt_profile profile, mlt_service_type
         // Callback registration
         this->get_frame = producer_get_frame;
         this->close = ( mlt_destructor )producer_close;
+        mlt_properties properties = MLT_PRODUCER_PROPERTIES( this );
+        mlt_properties_set( properties, "resource", arg );
+
     }
     return this;
 }