A simple and lightweight desktop calendar. Built using Qt, with plans to implement an event system.
Made by Tomi Miettinen (@mietteinen), a second-year Computer Science student.
To be able to build this project, you have to have make, qmake, and the Qt Core Libraries installed. Follow the instructions below to acquire them.
Linux
-
Install the dependencies via your system's package manager:
sudo apt-get install make qtbase5-dev
-
Run
qmake --version
andmake --version
to make sure the tools are working as they should.- You may have to restart your shell session by reopening the terminal.
Windows
- Download the Qt OSS Installer and run it.
- When the installer prompts you to pick an installation, make a custom one.
- Uncheck every box and check
{QT VERSION} -> MinGW x.x.x 64-bit
(recommended Qt version>= 5.12.2
)- Optional: You can install the whole Qt Creator IDE if you desire. It should install all required packages.
- Press 'Next' and wait for the installation to finish.
- Add
C:\Qt\{QT VERSION}\{MINGW VERSION}\bin
andC:\Qt\Tools\{MINGW VERSION}\bin
toPATH
.- If you picked a drive other than
C:\
, adjust accordingly.
- If you picked a drive other than
- Run
qmake -version
andmingw32-make -version
to make sure the tools are working as they should.
-
Clone or download the project repository from GitHub to your local machine. To clone the project, open the terminal and
cd
to the folder you want to clone the project to. Then type the following command:git clone https://github.com/mietteinen/calendarium.git
-
Navigate to the project directory.
cd calendarium
-
Run the following command to generate the project files using qmake:
qmake
This command generates the necessary makefiles or build files based on the
.pro
file in the project directory. -
Once the project files are generated, you can build the project by running
make
. This is usually different for Linux and Windows.- Linux:
make
- Windows:
mingw32-make
- Linux:
-
Now the executable should have been generated in the directory. On a Linux machine, type
./CalendarCPP
to run the program. If you are on a Windows machine, just double clicking the newly generatedCalendarCPP.exe
does the trick. -
You can clean unnecessary files from the folder with
make clean
ormingw32-make clean
.
Note: Depending on your MinGW installation, the version can vary. If you're having problems with running mingw32-make
on Windows, navigate to the installation folder (e.g. C:\Qt\Tools\mingw810_64\bin\
), in which you can find the correct make
installation. For me it was mingw32-make
. Make sure this directory is also in your PATH variable.
-
If you encounter any build issues or errors, make sure that you have the correct version of the Qt framework installed and that your environment variables (such as
PATH
) are properly set. -
If you have any questions or need further assistance, please feel free to open an issue in the project repository.