diff --git a/mkspecs/common/qcc-base-qnx.conf b/mkspecs/common/qcc-base-qnx.conf index b1bae7122d..88b82ccd71 100644 --- a/mkspecs/common/qcc-base-qnx.conf +++ b/mkspecs/common/qcc-base-qnx.conf @@ -37,9 +37,8 @@ QMAKE_LIBS_EGL = -lEGL # against the NDK's target directory which is referenced by the QNX_TARGET environment # variable, and which is guaranteed by the NDK to be set. QNX_DIR = $$(QNX_TARGET) - isEmpty(QNX_DIR) { - error(QNX_TARGET environment variable not set) + error("QNX_TARGET environment variable not set") } QMAKE_INCDIR = $${QNX_DIR}/usr/include $${QNX_DIR}/usr/include/freetype2