Table of Contents
Version v3.11.0 or more recent
Debian/Ubuntu/Mint
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:
- Desktop
- Qt 5 Compatibility Module
- Additional Libraries
- Qt Multimedia
- Qt Speech
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 .. && make
To run actiona, enter:
./actiona/actiona
Version v3.10.2 or older
Windows
- Install Visual Studio 2015 (Community edition should work)
- Install Qt (5.2.0 or more recent, QtScript is needed)
- Install QtCreator
- Install OpenCV binaries for Windows (version 2.x)
- Open CMakeLists.txt using QtCreator
- In the "Projects" tab, in "additional arguments", add:
- OPENCV_LIB="Path to the OpenCV library folder" (where all the .lib are)
- OPENCV_INCLUDE="Path to the OpenCV include path" (containing the opencv2 folder)
- OPENCV_LIB_CORE=Name of the core library filename (for example opencv_core249)
- OPENCV_LIB_IMGPROC=Name of the imgproc library filename (for example opencv_imgproc249)
- Compile
- Copy the opencv_corexxx.dll and opencv_imgproc.dll files from the OpenCV install path to the build directory containing all the binaries that where built in the previous step
- Run
GNU/Linux
Debian/Ubuntu/Mint
First download
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 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 .. && make
To run actiona, enter:
./actiona
Update
To update your version, open a terminal, go to the actiona/build directory and enter
git pull cmake .. make