File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ make install
39
39
Alternatively build as static library (best for portability)
40
40
``` shell
41
41
mkdir build && cd build
42
- qmake CONFIG+=static_lib ..
42
+ qmake CONFIG+=staticlib ..
43
43
make install
44
44
```
45
45
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ SET PROJDIR=%CD%
39
39
SET BUILDDIR = %PROJDIR% \..\build-qtusb-%ARCH%
40
40
41
41
SET STATIC = " "
42
- IF " %LIBTYPE% " == " static" SET STATIC = " CONFIG+=static_lib "
42
+ IF " %LIBTYPE% " == " static" SET STATIC = " CONFIG+=staticlib "
43
43
44
44
CALL " C:\Program Files (x86)\Microsoft Visual Studio\%MSVC% \Community\VC\Auxiliary\Build\vcvarsall.bat" %vcarch%
45
45
Original file line number Diff line number Diff line change @@ -7,9 +7,8 @@ DEFINES += QT_BUILD_USB_LIB
7
7
8
8
include ($$PWD/usb-lib.pri )
9
9
10
- CONFIG (static_lib ) {
10
+ CONFIG (staticlib ) {
11
11
message ("Build as Qt module (static library )")
12
- CONFIG += staticlib
13
12
} else {
14
13
message ("Build as Qt module (dynamic library )")
15
14
}
You can’t perform that action at this time.
0 commit comments