- See https://web.stanford.edu/dept/cs_edu/resources/qt/install-linux to install is just follow this steps;
- When this error shows: "Could not load the Qt platform plugin "xcb" in "" even though it was found.", run this code
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
- Go to the repository where CMakeLists.txt is located
- Type the command:
sh cmake -Bbuild -H.
- This will generate a build folder with the makefile inside
- Go to build folder:
cd build
- Insert the command
make -j2
to create the executable - Finally run the executable:
./NAME_OF_EXECUTABLE
- In the lubuntu terminal run the following commands:
-
sudo apt-get install postgresql" to install postgresql sudo apt-get install libpqxx-dev
- To install libpqxx, the c++ library for postgresql database connection.
//create database sudo apt update sudo apt install postgresql sudo service postgresql start createdb saca psql saca
//access database sudo su - postgres psql saca
//paste format once inside the database, paste the create_tables.sql content
//change password sudo su postgres psql saca \password postgres //change to "saca"