5
5
[ ![ GitHub release] ( https://img.shields.io/github/release/lirios/qtudev.svg )] ( https://github.com/lirios/qtudev )
6
6
[ ![ Build Status] ( https://travis-ci.org/lirios/qtudev.svg?branch=master )] ( https://travis-ci.org/lirios/qtudev )
7
7
[ ![ GitHub issues] ( https://img.shields.io/github/issues/lirios/qtudev.svg )] ( https://github.com/lirios/qtudev/issues )
8
- [ ![ Maintained] ( https://img.shields.io/maintenance/yes/2018.svg )] ( https://github.com/lirios/qtudev/commits/master )
9
8
10
9
Qt-style API to use udev.
11
10
@@ -17,8 +16,8 @@ Qt >= 5.8.0 with at least the following modules is required:
17
16
18
17
And the following modules:
19
18
20
- * [ qbs ] ( http ://code.qt.io/cgit/qbs/qbs.git ) >= 1.9 .0
21
- * [ qbs -shared] ( https://github.com/lirios/qbs -shared.git ) >= 1.2 .0
19
+ * [ cmake ] ( https ://gitlab.kitware.com/cmake/cmake ) >= 3.10 .0
20
+ * [ cmake -shared] ( https://github.com/lirios/cmake -shared.git ) >= 1.0 .0
22
21
23
22
The following modules and their dependencies are required:
24
23
@@ -30,42 +29,16 @@ For autotests you need:
30
29
31
30
## Installation
32
31
33
- Qbs is a new build system that is much easier to use compared to qmake or CMake.
34
-
35
- If you want to learn more, please read the [ Qbs manual] ( http://doc.qt.io/qbs/index.html ) ,
36
- especially the [ setup guide] ( http://doc.qt.io/qbs/configuring.html ) and how to install artifacts
37
- from the [ installation guide] ( http://doc.qt.io/qbs/installing-files.html ) .
38
-
39
- From the root of the repository, run:
40
-
41
32
``` sh
42
- qbs setup-toolchains --type gcc /usr/bin/g++ gcc
43
- qbs setup-qt /usr/bin/qmake-qt5 qt5
44
- qbs config profiles.qt5.baseProfile gcc
33
+ mkdir build
34
+ cd build
35
+ cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix ..
36
+ make
37
+ make install # use sudo if necessary
45
38
```
46
39
47
- Then, from the root of the repository, run:
48
-
49
- ``` sh
50
- qbs -d build -j $( nproc) profile:qt5 # use sudo if necessary
51
- ```
52
-
53
- To the ` qbs ` call above you can append additional configuration parameters:
54
-
55
- * ` modules.lirideployment.prefix:/path/to/prefix ` where most files are installed (default: ` /usr/local ` )
56
- * ` modules.lirideployment.dataDir:path/to/lib ` where data files are installed (default: ` /usr/local/share ` )
57
- * ` modules.lirideployment.libDir:path/to/lib ` where libraries are installed (default: ` /usr/local/lib ` )
58
- * ` modules.lirideployment.qmlDir:path/to/qml ` where QML plugins are installed (default: ` /usr/local/lib/qml ` )
59
- * ` modules.lirideployment.pluginsDir:path/to/plugins ` where Qt plugins are installed (default: ` /usr/local/lib/plugins ` )
60
- * ` modules.lirideployment.qbsModulesDir:path/to/qbs ` where Qbs modules are installed (default: ` /usr/local/share/qbs/modules ` )
61
-
62
- See [ lirideployment.qbs] ( https://github.com/lirios/qbs-shared/blob/develop/modules/lirideployment/lirideployment.qbs )
63
- for more deployment-related parameters.
64
-
65
- You can also specify the following options:
66
-
67
- * ` projects.QtUDev.useStaticAnalyzer:true ` to enable the Clang static analyzer
68
- * ` projects.QtUDev.autotestEnabled:true ` to build and run unit tests
40
+ Replace ` /path/to/prefix ` to your installation prefix.
41
+ Default is ` /usr/local ` .
69
42
70
43
### Logging categories
71
44
0 commit comments