Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10956

[Regression QDS 4.2.0 -> QDS 4.3.0] QDS project cannot be built by QtC out of the box.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • QDS 4.3
    • Qt Creator Integration
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes