-
Notifications
You must be signed in to change notification settings - Fork 5
Build from source
HOU ChG edited this page Apr 10, 2019
·
9 revisions
Testing environment: Ubuntu 16.04/18.04
- Download the source code and unzip the file: https://github.com/chg-hou/DawnlightSearch/archive/c++-version.zip , or use git command:
$ git clone https://github.com/chg-hou/DawnlightSearch.git
- Enter the project directory:
$ cd DawnlightSearch-c-version
- Check lsblk, which is part of the util-linux, is installed by running:
$ lsblk --version
- Install Qt build tools (qt5-qmake) and a dependent library (kio-dev or libkf5kio-dev). In Ubuntu, you could run:
$ sudo apt install qt5-qmake qttools5-dev-tools kio-dev libsqlite3-dev util-linux
or
$ make install_ubuntu_dep
- Compile
$ export QT_SELECT=qt5
$ make default
- After compiling and linking, a executable file named dawnlightsearch will be generated. You may install it by running:
$ sudo make install