<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 25.02.2018 20:20, Félix David wrote:<br>
    <blockquote type="cite"
cite="mid:CAGha9t=97PrMeGXD6kbzM38gPpmvnCucMvzqMs8KareyCzUM8w@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Hi Jb,<br>
                    <br>
                  </div>
                  Thanks for answering !<br>
                  <br>
                  First of all, I have Mint 18.3 Sylvia 64-bit.<br>
                </div>
                <div>
                  <div>I had Qt 5.5.1, I'm downloading Qt 5.10.1 then
                    it's gonna be okay I think.<br>
                  </div>
                  <div><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Oh, I didn't know Mint provided such a poor Qt support. Then it
    won't be that simple, because Kdenlive relies on the KDE frameworks
    libraries, which have to be compiled with the same Qt version as
    Kdenlive. You will need to remove all system KDE libraries and
    manually rebuild. Compile the following KDE frameworks in that exact
    order :<br>
    <code></code>
    <pre><code>
extra-cmake-modules karchive kconfig kwidgetsaddons kcompletion 
kcoreaddons polkit-qt-1 kauth kcodecs kdoctools 
kguiaddons ki18n kconfigwidgets kwindowsystem kcrash 
kdbusaddons kitemviews kiconthemes kjobwidgets 
kservice solid sonnet ktextwidgets attica kglobalaccel 
kxmlgui kbookmarks kio knotifications</code>
<code><code>knotifyconfig knewstuff kpackage kdeclarative</code></code>
<code><code>breeze-icons kdecoration breeze</code>


These libraries are all available through git with the following command :</code>
<code><code><pre>git clone git://anongit.kde.org/<span class="nv">$FRAMEWORK (where $FRAMEWORK is the name of each framework)</span></pre></code>Then for each framework you need to create a build dir, and compile using something like:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr <span class="s2">-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON


</span>
If you are interested, I have a script to build the AppImage version that might help you 
(but will need several changes to work directly) at:
<a class="moz-txt-link-freetext" href="https://cgit.kde.org/kdenlive.git/tree/packaging/appimage/01-dependencies.sh?h=refactoring_timeline&id=5ecd42394298cad227613e2db4711fa837f148c0">https://cgit.kde.org/kdenlive.git/tree/packaging/appimage/01-dependencies.sh?h=refactoring_timeline&id=5ecd42394298cad227613e2db4711fa837f148c0</a>


</code></pre>
    <blockquote type="cite"
cite="mid:CAGha9t=97PrMeGXD6kbzM38gPpmvnCucMvzqMs8KareyCzUM8w@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>I've tryed "apt-get install kf5gui-devel" and
                    "apt-get install kf5gui-dev" but none of them
                    worked.<br>
                  </div>
                  <br>
                </div>
                <br>
              </div>
              <div>Is there any command to remove everything about
                mlt-data ? (Sorry I'm not a great linux user)<br>
                <br>
              </div>
              In "/usr/", I've done this : sudo rm libmlt*<br>
            </div>
            And no more libmlt in it. There was libmlt.so.6.5.0 and it's
            not anymore, then it's good I guess.<br>
          </div>
          <div>I've try to run after that : cmake ../kdenlive_git
            -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
            -DCMAKE_INSTALL_PREFIX=/usr/local<br>
          </div>
          <div>But the error message didn't change. That's strange,
            because there is no "/usr/lib/x86_64-linux-gnu/libmlt.so".<br>
          </div>
          <div>I checked in /usr/local/lib/ and everything seems good, I
            have all mlt 6.6.0 files. And in ./pkgconfig there is no
            mlt.pc but mlt++.pc is right.<br>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    Check if you have the file mlt-framework.pc, you can see its content
    with:<br>
    cat mlt-framework.pc<br>
    <br>
    Check the version there. You probably have a .pc file pointing to
    6.5.0 version in /usr/lib/pkgconfig. Easiest is probably to delete
    these 2 files and reinstall MLT.<br>
    <br>
    Kdenlive tries to locate MLT using pkg-config. You can verify with
    the following command:<br>
    <br>
    pkg-config --libs mlt-framework<br>
    <br>
    It should output something like:<br>
    -L/usr/local/lib -lmlt<br>
    <br>
    And /usr/local/lib should contain your 6.6.0 libraries<br>
    <br>
    Regards<br>
    jb<br>
    <br>
    <blockquote type="cite"
cite="mid:CAGha9t=97PrMeGXD6kbzM38gPpmvnCucMvzqMs8KareyCzUM8w@mail.gmail.com">
      <div dir="ltr">Regards,<br>
        <div>
          <div>
            <div>Félix<br>
            </div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">2018-02-25 19:29 GMT+01:00 <span
                  dir="ltr"><<a href="mailto:jb@kdenlive.org"
                    target="_blank" moz-do-not-send="true">jb@kdenlive.org</a>></span>:<br>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex"><span
                    class="gmail-"><br>
                    <br>
                    On February 25, 2018 7:05:11 PM GMT+01:00, "Félix
                    David" <<a href="mailto:felixg.david@gmail.com"
                      moz-do-not-send="true">felixg.david@gmail.com</a>>
                    wrote:<br>
                    >Hi everyone,<br>
                    ><br>
                    >I'm new(bie) in Kdenlive development and for now
                    I'm trying to build<br>
                    >the<br>
                    >last refactoring_timeline version as explained
                    on the website's<br>
                    >development<br>
                    >page.<br>
                    ><br>
                    >I've followed steps until installing MLT V6.6.0.
                    I've done steps<br>
                    >explained<br>
                    >in this page :<br>
                    ><a
href="https://community.kde.org/Kdenlive/Development/KF5#Get_the_Qt5.2FKF5_branch_of_Kdenlive"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true">https://community.kde.org/<wbr>Kdenlive/Development/KF5#Get_<wbr>the_Qt5.2FKF5_branch_of_<wbr>Kdenlive</a><br>
                    >And everything is going well. But, at this step
                    :<br>
                    <br>
                    <br>
                  </span>Hello Félix and nice to hear from you!<br>
                  <br>
                  <br>
                  One problem I have seen recently is that you need Qt
                  >= 5.7 so I hope your distro has it because
                  otherwise you will need to find a workaround like a
                  virtual machine.<br>
                  <span class="gmail-"><br>
                    <br>
                    ><---<br>
                    ><br>
                    >cmake .. -DKDE_INSTALL_USE_QT_SYS_<wbr>PATHS=ON<br>
                    >-DCMAKE_INSTALL_PREFIX=/usr/<wbr>local<br>
                    >---><br>
                    ><br>
                    >I have this error message :<br>
                    ><---<br>
                    >-- Could NOT find KF5XmlGui , checked the
                    following files:<br>
                    >    /usr/lib/x86_64-linux-gnu/<wbr>cmake/KF5XmlGui/<wbr>KF5XmlGuiConfig.cmake<br>
                    >(version 5.18.0)<br>
                    >    /usr/lib/x86_64-linux-gnu/<wbr>cmake/KF5XmlGui/<wbr>KF5XmlGuiConfig.cmake<br>
                    >(version 5.18.0)<br>
                    <br>
                  </span>The cannot find KF5XmlGui is a bit strange,
                  make sure you have installed the kf5gui-devel package.<br>
                  <span class="gmail-"><br>
                    >-- KF5 < 5.23.0 Disable icon coloring<br>
                    >-- Found KF5 FileMetadata to extract file
                    metadata<br>
                    >CMake Error at<br>
                    >/usr/share/cmake-3.5/Modules/<wbr>FindPackageHandleStandardArgs.<wbr>cmake:148<br>
                    >(message):<br>
                    >Could NOT find MLT: Found unsuitable version
                    "6.5.0", but required is<br>
                    >at<br>
                    >  least "6.6.0" (found
                    /usr/lib/x86_64-linux-gnu/<wbr>libmlt.so)<br>
                    >Call Stack (most recent call first):<br>
                    >  /usr/share/cmake-3.5/Modules/<wbr>FindPackageHandleStandardArgs.<wbr>cmake:386<br>
                    >(_FPHSA_FAILURE_MESSAGE)<br>
                    >  cmake/modules/FindMLT.cmake:59
                    (find_package_handle_standard_<wbr>args)<br>
                    >  CMakeLists.txt:105 (find_package)<br>
                    <br>
                  </span>You probably have old MLT on your system. Make
                  sure you have removed the mlt-data and libmlt
                  packages. From the log it looks like you have a
                  previous version. Check with:<br>
                  ls -la /usr/lib/x86_64-linux-gnu/<wbr>libmlt*<br>
                  <br>
                  Do you have 6.5.0 libs ? If yes remove them.<br>
                  You can also check the pkgconfig files (usually in
                  /usr/lib/pkgconfig) there should be mlt.pc and
                  mlt++.pc pointing to your new MLT 6.6.0 libraries...
                  maybe you also have an other library for pkgconfig
                  that contains older files.<br>
                  <br>
                  I usually recommand removing all MLT packages and
                  installing manually in /usr to avoid having several
                  places for MLT<br>
                  <br>
                  Let me know if that helps and otherwise tell us which
                  distro you have it might help.<br>
                  <br>
                  Regards<br>
                  Jb<br>
                  <span class="gmail-"><br>
                    ><br>
                    >-- Configuring incomplete, errors occurred!<br>
                    >See also<br>
                    >"/home/felix/kdenlive/<wbr>kdenlive_git/CMakeFiles/<wbr>CMakeOutput.log".<br>
                    >---><br>
                    ><br>
                    >Regarding MLT, when I do this :<br>
                    ><---<br>
                    >$ melt --version<br>
                    >melt 6.6.0<br>
                    >Copyright (C) 2002-2018 Meltytech, LLC<br>
                    >---><br>
                    ><br>
                    >Then it seems right, but cmake doesn't find it.<br>
                    ><br>
                    >What should I do ? Thank you for your help !<br>
                    ><br>
                    >Best regards,<br>
                    ><br>
                    >Félix<br>
                    <br>
                    --<br>
                  </span>Sent from my Android device with K-9 Mail.
                  Please excuse my brevity.<br>
                </blockquote>
              </div>
              <br>
              <br clear="all">
              <br>
              -- <br>
              <div class="gmail_signature">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div><br>
                          </div>
                          <div>25 rue Baudet 93200 Saint-Denis<br>
                          </div>
                          <div>06.48.69.07.64<br>
                          </div>
                          <div><a href="mailto:felixg.david@gmail.com"
                              target="_blank" moz-do-not-send="true">felixg.david@gmail.com</a></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>