From 6b7bcd04605b72f00ef92a8983a6f913ab753c4e Mon Sep 17 00:00:00 2001
From: Eike Ziller <eike.ziller@theqtcompany.com>
Date: Thu, 1 Oct 2015 09:30:45 +0200
Subject: [PATCH] Fix that licensechecker was never used

Change-Id: I3d2d1df976fc7cdb7795df8742092e3ef00500b4
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
---
 plugins/qmlprofiler/qmlprofiler.pro              | 1 +
 plugins/qmlprofiler/qmlprofiler_dependencies.pri | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/qmlprofiler/qmlprofiler.pro b/plugins/qmlprofiler/qmlprofiler.pro
index e892a542b71..bf841816ae3 100644
--- a/plugins/qmlprofiler/qmlprofiler.pro
+++ b/plugins/qmlprofiler/qmlprofiler.pro
@@ -5,6 +5,7 @@ PROVIDER = Digia
 include(../../qtcreatorplugin.pri)
 
 DEFINES += QMLPROFILEREXTENSION_LIBRARY
+CONFIG(licensechecker): DEFINES += LICENSECHECKER
 
 # QmlProfilerExtension files
 
diff --git a/plugins/qmlprofiler/qmlprofiler_dependencies.pri b/plugins/qmlprofiler/qmlprofiler_dependencies.pri
index 7ffa4d0623f..69ea4971bf4 100644
--- a/plugins/qmlprofiler/qmlprofiler_dependencies.pri
+++ b/plugins/qmlprofiler/qmlprofiler_dependencies.pri
@@ -2,4 +2,4 @@ QTC_PLUGIN_NAME = QmlProfilerExtension
 QTC_PLUGIN_DEPENDS += \
     qmlprofiler
 
-CONFIG(licensechecker): QT_PLUGIN_DEPENDS += licensechecker
+CONFIG(licensechecker): QTC_PLUGIN_DEPENDS += licensechecker
-- 
GitLab