Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-533

Can't convert project(s) - 'The parent is missing'.

    XMLWordPrintable

Details

    • 5be07d0ccd48640234c42a35230f27c818f61501

    Description

      Hello,

      I have a problem with the latest release of the vsaddin qt-vsaddin-msvc2017-2.2.1_3f7c20c.vsix

      I can't convert my project tree to a VS 2017 solution.

      Looks like that qmake was able to read in the projects.

      After that Visual Studio pops up a dialog 'The parent is missing'.

      Some of the subprojects can be converted.

      An interessing issue: The converter inserted an 'unkown' entry into the CustomBuild xml:

      <QtMoc Include="GroupWidget.h" ConfigName="Release|x64" />

      But only for this file. All other CustomBuilds doesn't have this entry.

      I deleted the piece by hand and could load the complete solution and was able to build it.

      Check out the end of following text.

       

      <CustomBuild Include="GroupWidget.h">
      <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">GroupWidget.h;release\mocinclude.opt;release\moc_predefs.h;$(QTDIR)\bin\moc.exe;%(AdditionalInputs)</AdditionalInputs>
      <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DEPRECATED_WARNINGS -DNOMINMAX -DWIN32_LEAN_AND_MEAN -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_SQL_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_TEXTTOSPEECH_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include release/moc_predefs.h @release/mocinclude.opt GroupWidget.h -o release\moc_GroupWidget.cpp</Command>
      <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MOC GroupWidget.h</Message>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">release\moc_GroupWidget.cpp;%(Outputs)</Outputs>
      <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">GroupWidget.h;debug\mocinclude.opt;debug\moc_predefs.h;$(QTDIR)\bin\moc.exe;%(AdditionalInputs)</AdditionalInputs>
      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_DEPRECATED_WARNINGS -DNOMINMAX -DWIN32_LEAN_AND_MEAN -DQT_OPENGL_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_SQL_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_TEXTTOSPEECH_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include debug/moc_predefs.h @debug/mocinclude.opt GroupWidget.h -o debug\moc_GroupWidget.cpp</Command>
      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">MOC GroupWidget.h</Message>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">debug\moc_GroupWidget.cpp;%(Outputs)</Outputs>
      <QtMoc Include="GroupWidget.h" ConfigName="Release|x64" /></CustomBuild>

       

       

      Attachments

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

        Activity

          People

            mecfc Miguel Costa
            datacube Alexander Golde
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes