mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
Add no deprecated warning Config flag to better show other ones.
Use CONFIG+=rs_nodeprecatedwarning to qmake command line.
This commit is contained in:
parent
864776119f
commit
a6b19ea68b
@ -50,6 +50,11 @@ rs_autologin:CONFIG -= no_rs_autologin
|
||||
CONFIG *= rs_gxs
|
||||
no_rs_gxs:CONFIG -= rs_gxs
|
||||
|
||||
# To disable Deprecated Warning append the following
|
||||
# assignation to qmake command line "CONFIG+=rs_nodeprecatedwarning"
|
||||
CONFIG *= no_rs_nodeprecatedwarning
|
||||
rs_nodeprecatedwarning:CONFIG -= no_rs_nodeprecatedwarning
|
||||
|
||||
|
||||
unix {
|
||||
isEmpty(PREFIX) { PREFIX = "/usr" }
|
||||
@ -153,3 +158,9 @@ rs_autologin {
|
||||
DEFINES *= RS_AUTOLOGIN
|
||||
warning("You have enabled RetroShare auto-login, this is discouraged. The usage of auto-login on some linux distributions may allow someone having access to your session to steal the SSL keys of your node location and therefore compromise your security")
|
||||
}
|
||||
|
||||
rs_nodeprecatedwarning {
|
||||
QMAKE_CXXFLAGS += -Wno-deprecated
|
||||
QMAKE_CXXFLAGS += -Wno-deprecated-declarations
|
||||
warning("QMAKE: You have disable deprecated warnings.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user