Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
QDS 4.3
-
None
-
3825a067f (qds-4.3)
Description
Back in 4.2.0, the default CMakeLists.txt generated by QDS can be read by QtC as it is then the project can be built as a normal CMake project. Everything works by default.
But in 4.3.0, building project in QtC gives the following strange linker error:
main.cpp.obj:-1: error: LNK2019: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_QtQuick_Studio_ComponentsPlugin(void)" (?qt_static_plugin_QtQuick_Studio_ComponentsPlugin@@YA?BUQStaticPlugin@@XZ) referenced in function "public: __cdecl StaticQtQuick_Studio_ComponentsPluginPluginInstance::StaticQtQuick_Studio_ComponentsPluginPluginInstance(void)" (??0StaticQtQuick_Studio_ComponentsPluginPluginInstance@@QEAA@XZ) QuickStudioComponentsplugin_init.cpp.obj:-1: error: LNK2001: unresolved external symbol "struct QStaticPlugin const __cdecl qt_static_plugin_QtQuick_Studio_ComponentsPlugin(void)" (?qt_static_plugin_QtQuick_Studio_ComponentsPlugin@@YA?BUQStaticPlugin@@XZ) QDS_ProjApp.exe:-1: error: LNK1120: 1 unresolved externals :-1: error: ninja: build stopped: subcommand failed.
Any QDS project, even the default empty template, can reproduce the issue.