QIcon: Fix test plugin
The plugin was built into the base directory of any build that included its CMakeLists.txt. Subsequently it was required by any project built against this version of Qt and linked against QtGui. Since it couldn't be found in the usual places to look for plugins, all those builds failed. Amends commit 87896c03c1baccff0049b582dcbf512716aeb8bc Task-number: QTBUG-126393 Change-Id: I4c577c60459d5f6cb654714ce6e97f87c1f6f640 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io> (cherry picked from commit b01dd59d764cf5787b36075cc273a9a56be55a8e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
485a9213a5
commit
262c7853a3
@ -5,16 +5,12 @@
|
||||
## TestIconEngine Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_plugin(TestIconPlugin
|
||||
qt_add_plugin(TestIconPlugin
|
||||
STATIC
|
||||
OUTPUT_NAME qtesticonplugin
|
||||
OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
|
||||
SKIP_INSTALL
|
||||
PLUGIN_TYPE iconengines
|
||||
DEFAULT_IF TRUE
|
||||
SOURCES
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
qt_autogen_tools_initial_setup(TestIconPlugin)
|
||||
target_link_libraries(TestIconPlugin PRIVATE Qt::Core Qt::Gui)
|
||||
|
Loading…
x
Reference in New Issue
Block a user