You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[build] main.obj : error LNK2019: symbole externe non résolu "struct QStaticPlugin const __cdecl qt_static_plugin_QSvgPlugin(void)" (?qt_static_plugin_QSvgPlugin@@YA?BUQStaticPlugin@@XZ) référencé dans la fonction "void __cdecl `dynamic initializer for 'staticQSvgPluginInstance''(void)" (??__EstaticQSvgPluginInstance@@YAXXZ) [C:\Users\fnadeau\git-github\qt-demo\build\main.vcxproj]
[build] main.obj : error LNK2019: symbole externe non résolu "struct QStaticPlugin const __cdecl qt_static_plugin_QSvgIconPlugin(void)" (?qt_static_plugin_QSvgIconPlugin@@YA?BUQStaticPlugin@@XZ) référencé dans la fonction "void __cdecl `dynamic initializer for 'staticQSvgIconPluginInstance''(void)" (??__EstaticQSvgIconPluginInstance@@YAXXZ) [C:\Users\fnadeau\git-github\qt-demo\build\main.vcxproj]
[build] C:\Users\fnadeau\git-github\qt-demo\build\Release\main.exe : fatal error LNK1120: 2 externes non résolus [C:\Users\fnadeau\git-github\qt-demo\build\main.vcxproj]
if target link is used
[cmake] CMake Error at CMakeLists.txt:24 (target_link_libraries):
[cmake] Target "main" links to:
[cmake]
[cmake] Qt5::QSvgIconPlugin
[cmake]
[cmake] but the target was not found. Possible reasons include:
[cmake]
[cmake] * There is a typo in the target name.
[cmake] * A find_package call is missing for an IMPORTED target.
[cmake] * An ALIAS target is missing.
The text was updated successfully, but these errors were encountered:
Description
QSvgPlugin and QSvgIconPlugin are not exposed.
Package and Environment Details
Conan profile
Host profile:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
Build profile:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows
Steps to reproduce
Add this to CMakeLists.txt, configure will fail
Add this to code, build will fail (given that above line is not in CMakeLists.txt)
Logs
If import plugin is used
if target link is used
The text was updated successfully, but these errors were encountered: