thgier / PotatoPresenter

Tool to create presentation slides that can be exported as PDF.
61 stars 8 forks source link

Build-environment problems #2

Closed gerald-b closed 2 years ago

gerald-b commented 2 years ago

Hello,

i'm trying to build it on my own. but i got stuck.

Steps:

-- The CXX compiler identification is GNU 9.3.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:19 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one.

Could not find a package configuration file provided by "Qt5" with any of the following names:

Qt5Config.cmake
qt5-config.cmake

Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/home/edv/sources/PotatoPresenter/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log

Can i have any hint for getting this software running?

sur5r commented 2 years ago

On Debian and derivatives, you'll need to install the following packages for building:

Additionally, I found the following packages to be necessary at runtime:

Both lists might be incomplete, I did not try it on a minimal install yet.

gerald-b commented 2 years ago

@sur5r thanks a lot.

NOTE: apt install libqt5svg5-dev qtbase5-dev libantlr4-runtime-dev libkf5texteditor-dev libkf5syntaxhighlighting-dev

thgier commented 2 years ago

Thank you for the list:) I am planning to put a script for building the appimage in the repository. There will be the up-to-date dependencies.

thgier commented 2 years ago

On the master branch is now in build_AppImage a Dockerfile. There are all needed dependencies.

thgier commented 2 years ago

There is now a detailed description how to build it from source on the webside: https://potato-presenter.de/contribute.html