From 8ca247e287963802f59af1c3243467792f18ba31 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 27 Jun 2016 10:56:50 +0200 Subject: [PATCH] Get rid of the qt_no_framework setting in the CONFIG variable It's only used in one place, where it's actually not required either. Change-Id: I5766d2b5f0c1083bbd58a9b9fb07cc67bbd46a94 Reviewed-by: Oswald Buddenhagen --- configure.json | 3 +-- mkspecs/features/create_cmake.prf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.json b/configure.json index 1cb30c989e..4316b57c05 100644 --- a/configure.json +++ b/configure.json @@ -1090,8 +1090,7 @@ "output": [ { "type": "define", "name": "QT_MAC_FRAMEWORK_BUILD" }, { "type": "publicQtConfig", "name": "qt_framework"}, - { "type": "publicConfig", "name": "qt_framework"}, - { "type": "publicConfig", "negative": true, "name": "qt_no_framework"} + { "type": "publicConfig", "name": "qt_framework"} ] }, "largefile": { diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index 78356b4437..1099e14b17 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -208,7 +208,7 @@ mac { CMAKE_PRL_FILE_LOCATION_DEBUG = lib$${CMAKE_QT_STEM}_debug.prl CMAKE_PRL_FILE_LOCATION_RELEASE = lib$${CMAKE_QT_STEM}.prl } else { - CONFIG(qt_framework, qt_framework|qt_no_framework) { + qt_framework { CMAKE_LIB_FILE_LOCATION_DEBUG = Qt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}.framework/Qt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX} CMAKE_LIB_FILE_LOCATION_RELEASE = Qt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX}.framework/Qt$${CMAKE_MODULE_NAME}$${QT_LIBINFIX} CMAKE_BUILD_IS_FRAMEWORK = "true"