How to define QTPLUGINS using CMakeLists?
Unsolved
General and Desktop
-
wrote on 14 Aug 2020, 06:48 last edited by
Hey,
I want to convert this pro code:QTPLUGIN += qsvg
to CMakeLists. How can I do this?
I tried to use this command:qt5_import_plugins(INCLUDE Qt5::Svg)
but I got error:
Unknown CMake command "qt5_import_plugins".
Qt core is found and used, so what am I doing wrong?
1/1