QmlDesigner: Fix cmake issues for effect maker

Also some cleanups to cmake removing ShaderTools

Change-Id: I9ae35a808943f2e4ad7f2b395854b1a245221246
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Amr Essam
2023-11-02 12:54:34 +02:00
committed by Amr Elsayed
parent eabebac670
commit 94e55865f7
2 changed files with 8 additions and 8 deletions

View File

@@ -1,12 +1,12 @@
find_package(Qt6 OPTIONAL_COMPONENTS Gui Quick ShaderTools)
find_package(Qt6 OPTIONAL_COMPONENTS Gui Quick)
add_qtc_plugin(EffectMakerNew
CONDITION TARGET QmlDesigner AND TARGET Qt::ShaderTools
CONDITION TARGET QmlDesigner
PLUGIN_DEPENDS
QtCreator::Core QtCreator::QmlDesigner QtCreator::ProjectExplorer QtCreator::QmlProjectManager
Qt::Core QtCreator::QmlDesigner QtCreator::ProjectExplorer QtCreator::QmlProjectManager
DEPENDS
Qt::Core
QtCreator::Utils Qt::CorePrivate Qt::Widgets Qt::Qml Qt::QmlPrivate Qt::Quick Qt::ShaderTools Qt::ShaderToolsPrivate
QtCreator::Utils Qt::CorePrivate Qt::Widgets Qt::Qml Qt::QmlPrivate Qt::Quick
SOURCES
effectmakerplugin.cpp effectmakerplugin.h
effectmakerwidget.cpp effectmakerwidget.h

View File

@@ -1,8 +1,7 @@
{
\"Name\" : \"EffectMakerNew\",
\"Version\" : \"$$QTCREATOR_VERSION\",
\"CompatVersion\" : \"$$QTCREATOR_COMPAT_VERSION\",
\"Revision\" : \"$$QTC_PLUGIN_REVISION\",
\"Version\" : \"${IDE_VERSION}\",
\"CompatVersion\" : \"${IDE_VERSION_COMPAT}\",
\"Vendor\" : \"The Qt Company Ltd\",
\"Copyright\" : \"(C) $$QTCREATOR_COPYRIGHT_YEAR The Qt Company Ltd\",
\"License\" : [ \"Commercial Usage\",
@@ -11,5 +10,6 @@
],
\"Description\" : \"Plugin for Effect Maker.\",
\"Url\" : \"http://www.qt.io\",
$$dependencyList
${IDE_PLUGIN_DEPENDENCIES}
}