diff options
Diffstat (limited to 'src/modules/objects')
| -rw-r--r-- | src/modules/objects/KvsObject_ftp.cpp | 4 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_http.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/objects/KvsObject_ftp.cpp b/src/modules/objects/KvsObject_ftp.cpp index e23daa0bd..f9ed6c7b9 100644 --- a/src/modules/objects/KvsObject_ftp.cpp +++ b/src/modules/objects/KvsObject_ftp.cpp @@ -24,7 +24,9 @@ #include "KvsObject_ftp.h" -#warning QFtp doesn't exists anymore in Qt5, port this class or drop it +#ifdef __GNUC__ +#warning QFtp doesn't exist anymore in Qt5, port this class or drop it +#endif #if (QT_VERSION < 0x050000) #include "kvi_debug.h" diff --git a/src/modules/objects/KvsObject_http.cpp b/src/modules/objects/KvsObject_http.cpp index b82c683b6..3983f5d90 100644 --- a/src/modules/objects/KvsObject_http.cpp +++ b/src/modules/objects/KvsObject_http.cpp @@ -24,7 +24,9 @@ #include "KvsObject_http.h" -#warning QHttp doesn't exists anymore in Qt5, port this class or drop it +#ifdef __GNUC__ +#warning QHttp doesn't exist anymore in Qt5, port this class or drop it +#endif #if (QT_VERSION < 0x050000) #include "kvi_debug.h" |
