Changeset View
Changeset View
Standalone View
Standalone View
README.md
Show All 21 Lines | |||||
22 | ## How To Build and Install Cantor | 22 | ## How To Build and Install Cantor | ||
23 | 23 | | |||
24 | To build and install Cantor, follow the steps below: | 24 | To build and install Cantor, follow the steps below: | ||
25 | 25 | | |||
26 | ``` | 26 | ``` | ||
27 | cd cantor | 27 | cd cantor | ||
28 | mkdir build | 28 | mkdir build | ||
29 | cd build | 29 | cd build | ||
30 | cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install -DCMAKE_BUILD_TYPE=debugfull | 30 | cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install -DCMAKE_BUILD_TYPE=RELEASE | ||
31 | make | 31 | make | ||
32 | make install or su -c 'make install' | 32 | make install or su -c 'make install' | ||
33 | ``` | 33 | ``` | ||
34 | 34 | | |||
35 | If `-DCMAKE_INSTALL_PREFIX` is not used, Cantor will be installed in | 35 | If `-DCMAKE_INSTALL_PREFIX` is not used, Cantor will be installed in | ||
36 | root directory. | 36 | default cmake install directory (`/usr/local/` usually). | ||
37 | 37 | | |||
38 | If you provide some `/path/to/install`, you must to configure the | 38 | Also, you need to configure and to export the | ||
39 | [`QT_PLUGIN_PATH`](http://doc.qt.io/qt-5/deployment-plugins.html#the-plugin-directory) | 39 | [`QT_PLUGIN_PATH`](http://doc.qt.io/qt-5/deployment-plugins.html#the-plugin-directory) | ||
40 | environment variable in order to Cantor loads the plugins correctly. | 40 | environment variable in order to Cantor loads the plugins correctly. | ||
41 | 41 | | |||
42 | For the default installation path, `QT_PLUGIN_PATH` must be `/usr/local/lib<YOUR_ARCHITECTURE>/plugins` | ||||
43 | | ||||
42 | To uninstall the project: | 44 | To uninstall the project: | ||
43 | 45 | | |||
44 | ```make uninstall or su -c 'make uninstall'``` | 46 | ```make uninstall or su -c 'make uninstall'``` |