Add dev CONFIG option for qmake file
Enables back all the missing warnings, notably JS syntax errors
This commit is contained in:
parent
c27480d395
commit
990770dd38
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,3 +12,4 @@ build
|
|||
dist
|
||||
.qmake.stash
|
||||
Makefile
|
||||
harmonyqml
|
||||
|
|
BIN
harmonyqml
BIN
harmonyqml
Binary file not shown.
|
@ -1,7 +1,10 @@
|
|||
TEMPLATE = app
|
||||
QT = quick
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
CONFIG += release warn_off c++11
|
||||
CONFIG += warn_off c++11 release
|
||||
dev {
|
||||
CONFIG += debug
|
||||
}
|
||||
|
||||
BUILD_DIR = build
|
||||
MOC_DIR = $$BUILD_DIR/moc
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
|
||||
find src harmonyqml.pro -type f |
|
||||
entr -cdnr sh -c \
|
||||
'qmake CONFIG+=no_embedded && make && ./harmonyqml --debug'
|
||||
'qmake CONFIG="dev no_embedded" && make && ./harmonyqml --debug'
|
||||
|
|
Loading…
Reference in New Issue
Block a user