Skip to content

Build from source

HOU ChG edited this page Apr 10, 2019 · 9 revisions

Testing environment: Ubuntu 16.04/18.04


  1. 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
  1. Enter the project directory:
$ cd DawnlightSearch-c-version
  1. Check lsblk, which is part of the util-linux, is installed by running:
$ lsblk --version
  1. 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 
  1. Compile
$ export QT_SELECT=qt5
$ make default
  1. After compiling and linking, a executable file named dawnlightsearch will be generated. You may install it by running:
$ sudo make install
Clone this wiki locally