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

QPlainTextEdit dependent not found after updating to Qt 6.7.2

    XMLWordPrintable

Details

    • Windows

    Description

      Have a project that as part of it builds a library (with a GUI), this has been working fine in Qt 5, Qt 6.3, Qt 6.5 and Qt 6.6, after having just updated to Qt 6.7.2 from the maintenance tool (MSVC 2019 64-bit), the build now fails with the following:

       

              link /NOLOGO /DYNAMICBASE /NXCOMPAT /OPT:REF /OPT:ICF /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /MANIFEST:embed /OUT:..\..\release\plugin_mcumgr.dll @C:\Users\build\AppData\Local\Temp\plugin_mcumgr.dll.7748.45703.jom
         Creating library ..\..\release\plugin_mcumgr.lib and object ..\..\release\plugin_mcumgr.exp
              cd AuTerm\ && ( if not exist Makefile E:\Qt\6.7.2\msvc2019_64\bin\qmake.exe -o Makefile E:\AuTerm-main\AuTerm\AuTerm.pro -spec win32-msvc "CONFIG+=qtquickcompiler" ) && E:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile
              E:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release
      Error: dependent '..\..\..\..\..\..\Qt\6.7.2\msvc2019_64\include\QtWidgets\QPlainTextEdit' does not exist.
      jom: E:\AuTerm-main\build\Desktop_Qt_6_7_2_MSVC2019_64bit-Release\AuTerm\Makefile [release] Error 2
      jom: E:\AuTerm-main\build\Desktop_Qt_6_7_2_MSVC2019_64bit-Release\Makefile [sub-AuTerm-make_first] Error 2
      18:22:36: The process "E:\Qt\Tools\QtCreator\bin\jom\jom.exe" exited with code 2.
      Error while building/deploying project AuTerm-project (kit: Desktop Qt 6.7.2 MSVC2019 64bit)
      When executing step "Make"
      18:22:36: Elapsed time: 00:49. 

       

      The .pro for this plugin has widgets enabled as per (snippet of file):

       

      include(../../AuTerm-includes.pri)
      QT += gui widgets serialport $$ADDITIONAL_MODULES
      TEMPLATE = lib
      CONFIG += plugin
      CONFIG = c+17
      INCLUDEPATH    += ../../AuTerm
      TARGET          = $$qtLibraryTarget(plugin_mcumgr) 

       

      So not sure why this is giving this error which has never been seen before in previous versions?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            thedjnk Mr nK
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes