How To Use the Linux SDK

  1. Download and install the following:
  2. Start Qt Creator and choose Tools > Options > Build & Run
    Configure all of your settings in the Build & Run section.
    • Manually set the Qt version. Version Settings
    • Configure the project kit from the previously set Qt version. Kit Settings
  3. Extract the Shotcut SDK .bz2 file to a new folder in $HOME called “Projects”.
  4. In Qt Creator open shotcut.pro from $HOME/Projects/Shotcut/Shotcut.app/src/shotcut.
  5. In the Shotcut project configuration screen find Build Settings.
    • Under Build steps > qmake > Additional arguments add
      MLT_PATH=../../.. PREFIX=../../..
    • Under Build Steps > Make > Make arguments add “-j” for faster parallel compilation.
  6. In the Shotcut project configuration screen find Run Settings.
    • Under Deployment click Add Deploy Step > Make, and in Make arguments add “install”.
    • Under Run > Run configuration click Add > Custom Executable > Executable add $HOME/Projects/Shotcut/Shotcut.app/bin/shotcut
    • Under Run Environment > Details add the following environment variables:
      • Set LD_LIBRARY_PATH to ${HOME}/Projects/Shotcut/Shotcut.app/lib:${QTDIR}/lib:${HOME}/Projects/Shotcut/Shotcut.app/src/build-shotcut-Desktop_Qt_5_6_1_GCC_64bit-Debug/CuteLogger
      • Set MLT_DATA to ${HOME}/Projects/Shotcut/Shotcut.app/share/mlt
      • Set MLT_PRESETS_PATH to ${HOME}/Projects/Shotcut/Shotcut.app/share/mlt/presets
      • Set MLT_PROFILES_PATH to ${HOME}/Projects/Shotcut/Shotcut.app/share/mlt/profiles
      • Set MLT_REPOSITORY to ${HOME}/Projects/Shotcut/Shotcut.app/lib/mlt
      • Set QML2_IMPORT_PATH to ${QTDIR}/qml
      • Set QT_PLUGIN_PATH to ${QTDIR}/plugins
  7. Go back to Edit mode, right-click “shotcut” in the project tree, and choose Rebuild.

  8. After clicking Run, you can confirm the newly built executable is the one that is running from the About dialog: the version will be today’s date.

Search

Subscribe

Subscribe to this blog via RSS.

Recent Posts

About

Shotcut is a free, open source, cross-platform video editor for Windows, Mac and Linux. Major features include support for a wide range of formats; no import required meaning native timeline editing; Blackmagic Design support for input and preview monitoring; and resolution support to 4k.

Social Links

Copyright © 2011-2018 by Meltytech, LLC
Shotcut is a trademark of Meltytech, LLC.

Site design by Magnetic Image. Magnetic Image, Inc.