[Kdenlive-devel] kdenlive4 compilation issue on ubuntu 8.04

reinhard protux at web.de
Sat Jul 19 20:55:02 UTC 2008


On Wed, 2008-07-16 at 11:12 -0300, Lúcio Corrêa wrote:
> On Wed, Jul 16, 2008 at 7:54 AM, reinhard <protux at web.de> wrote:
> > Hi,
> >
> > I got the following error on ubuntu 8.04 using the classic build script
> > (http://en.wikibooks.org/wiki/Kdenlive_builder_classic_script):
> >
> > ...
> > ...
> > [  1%] Building CXX object
> > src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindow.o
> > In file included
> > from /home/reinhard/build/kdenlive4/kdenlive/src/clipproperties.h:29,
> >
> > from /home/reinhard/build/kdenlive4/kdenlive/src/mainwindow.cpp:76:
> > /home/reinhard/build/kdenlive4/kdenlive/src/cmake_bindir/ui_clipproperties_ui.h: In member function 'void Ui_ClipProperties_UI::setupUi(QDialog*)':
> > /home/reinhard/build/kdenlive4/kdenlive/src/cmake_bindir/ui_clipproperties_ui.h:348: error: 'class QTreeWidget' has no member named 'setHeaderHidden'
> > make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindow.o]
> > Error 1
> > make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Error 2
> > make: *** [all] Error 2
> > reinhard at ubuntu1:~/build/kdenlive4$
> >
> > Is this because the ubuntu version of kde4 is just 4.0.3 ?
> >
> > greetings
> > reinhard
> >
> >
> 
> setHeaderHidden was introduced in Qt 4.4.  I think you're using an
> older  version.


Yes, was also 4.0.3
But thanks for the hint!
After some investigation I found out that I had to activate the backport
repository to get qt 4.0.4 package.

Unfortunately compilation had a problem in the end (I use the classic
builder script), but in general kdenlive4 compilation is dome by this
part of the script:

    cd ../kdenlive &&
    rm -f CMakeCache.txt &&
 export PATH=$PATH:/usr/lib/kde4/bin/ &&
    cmake \
    -DCMAKE_INSTALL_PREFIX=$DEST_DIR \
    -DCMAKE_BUILD_TYPE=Debug . &&
    make &&
    make install



Here is the error message:

...
...
[100%] Built target translations
Install the project...
-- Install configuration: "Debug"
-- Installing: /home/reinhard/build/kdenlive4/bin/kdenlive
--
Installing: /home/reinhard/build/kdenlive4/share/apps/kdenlive/kdenliveui.rc
--
Installing: /home/reinhard/build/kdenlive4/share/config.kcfg/kdenlivesettings.kcfg
--
Installing: /home/reinhard/build/kdenlive4/share/applications/kde/kdenlive.desktop
--
Installing: /home/reinhard/build/kdenlive4/share/icons/oxygen/scalable/mimetypes/application-x-kdenlive.svgz
--
Installing: /home/reinhard/build/kdenlive4/share/mime/packages/kdenlive.xml
CMake Error at src/cmake_bindir/mimetypes/cmake_install.cmake:36 (FILE):
  file INSTALL cannot find file
  "/home/reinhard/build/kdenlive4/kdenlive/src/mimetypes/dv-video.xml"
to
  install.
Call Stack (most recent call first):
  src/cmake_bindir/cmake_install.cmake:65 (INCLUDE)
  cmake_install.cmake:37 (INCLUDE)


make: *** [install] Error 1
reinhard at ubuntu1:~/build/kdenlive4$


Ideas welcome.

Greetings
reinhard





More information about the Kdenlive mailing list