Tested on Ubuntu 22.04. Unfortunately Actiona requires Qt 6.4 or more recent, so we can't use the system libraries.
Dependencies:
sudo apt-get install git-core build-essential cmake libnotify-dev libopencv-dev libxtst-dev libglx-dev libgl1-mesa-dev libxcb-cursor0 libudev-dev libbluetooth-dev libxkbcommon-dev
Download the Qt online installer (open source edition) and install it.
Create/Sign up to your Qt Account, choose "Custom installation".
Install Qt 6.6.3 (Qt 6.7 is not compatible) with the following modules:
Get the code.
git clone --recursive https://github.com/Jmgr/actiona.git
Enter the actiona directory:
cd actiona
Then build (you might have to replace $HOME/Qt with the path where your Qt installation resides).
mkdir build cd build cmake .. -DCMAKE_PREFIX_PATH=$HOME/Qt/6.6.3/gcc_64 -DCMAKE_BUILD_TYPE=Release cmake --build .
To run actiona, enter:
./actiona/actiona
set PATH=C:\Qt\Tools\mingw1120_64\bin;%PATH% cd <OpenCV directory> mkdir build cd build cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=. -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_world=OFF -DBUILD_opencv_calib3d=OFF -DBUILD_opencv_dnn=OFF -DBUILD_opencv_features2d=OFF -DBUILD_opencv_flann=OFF -DBUILD_opencv_gapi=OFF -DBUILD_opencv_highgui=OFF -DBUILD_opencv_ml=OFF -DBUILD_opencv_objdetect=OFF -DBUILD_opencv_photo=OFF -DBUILD_opencv_stitching=OFF -DBUILD_opencv_video=OFF -DBUILD_opencv_videoio=OFF -DBUILD_opencv_imgcodecs=OFF -DBUILD_opencv_java=OFF -DBUILD_opencv_js=OFF -DBUILD_opencv_python_bindings_generator=OFF -DBUILD_opencv_ts=OFF -DBUILD_opencv_perf_core=OFF -DBUILD_opencv_perf_imgproc=OFF -DBUILD_opencv_perf_features2d=OFF -DBUILD_opencv_perf_flann=OFF .. cmake --build .
git clone --recursive https://github.com/Jmgr/actiona.git
We need Git, a C++ compiler (that can compile C++11 code, so for GCC, version 4.7 or better), Qt and all dependencies:
sudo apt-get install git-core build-essential cmake qtbase5-dev libqt5x11extras5-dev libqt5xmlpatterns5-dev libqt5texttospeech5-dev qtscript5-dev qttools5-dev qtmultimedia5-dev qttools5-dev-tools libnotify-dev libudev-dev libopencv-dev libxtst-dev
If you want to use SQL databases you will also have to install the corresponding bindings, for instance, MySQL:
sudo apt-get install libqt5sql5-mysql
Get the code.
git clone --recursive https://github.com/Jmgr/actiona.git
Enter the actiona directory:
cd actiona
Then build.
mkdir build cd build cmake .. cmake --build .
To run actiona, enter:
./actiona
To update your version, open a terminal, go to the actiona/build directory and enter
git pull cmake .. cmake --build .