Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125147

qtdeclarative fails to link on MSVC due to mixing debug and release libraries (missing installed artifacts)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.7.0
    • Build System: CMake
    • None
    • Windows 11
      MSVC 2022
      CMake 3.28.3
    • Windows

    Description

      I'm having issues with compiling Qt Declarative submodule version 6.5.3 on Windows 11, MSVC 2022, CMake 3.28.3.

       

      Qt Base submodule compiled successfully, you can see base module configuration summary attached (qtbase-config-summary.txt).

      Qt Declarative module configuration also completes successfully using qt-configure-module.bat (Qt Declarative module configuration summary attached - qtdeclarative-config-summary.txt).

       

      During Qt Declarative compilation I keep getting following error (full error log attached - error_log.txt):

      Creating library lib\Qt6QmlXmlListModeld.lib and object lib\Qt6QmlXmlListModeld.exp
      qqmlxmllistmodel.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QtPrivate::ResultIteratorBase::~ResultIteratorBase(void)" (__imp_??1ResultIteratorBase@QtPrivate@@QAE@XZ) referenced in function "public: struct QQmlXmlListModelQueryResult const & __thiscall QFutureInterface<struct QQmlXmlListModelQueryResult>::resultReference(int)const " (?resultReference@?$QFutureInterface@UQQmlXmlListModelQueryResult@@@@QBEABUQQmlXmlListModelQueryResult@@H@Z)
      bin\Qt6QmlXmlListModeld.dll : fatal error LNK1120: 1 unresolved externals

       

      I would kindly ask you to help me out with this issue.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              ps_cert Patrik Sadaic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes