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

msbuild ignores project dependencies with qttools 2.3.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.3.2
    • 2.3.1
    • Build-time integration
    • None
    • Windows 10, Qt 5.11.0
    • Windows
    • bf49de59fe95c0772943d37561e7da9f34c8e00c

    Description

      Using QtTools 2.3.1 from VisualStudio2017 works fine, but when I try to build from command line using msbuild, it ignores dependencies between projects.

      For example: A depends on B. B has file.ui which produce GeneratedFiles/ui_file.h A includes that header but cannot include because B was not built yet and generated header file is missing. If I build first B only then A builds fine.

      I tried to modify qt_globals.targets as in https://github.com/qt-labs/vstools/commit/10961ecb86d7688f3eb7fb782f7d38affef2aa09 but that didn't helped.

      With version QtTools 2.2.2 there is no problem.

      Attachments

        Activity

          People

            mecfc Miguel Costa
            9a4gl Tihomir Heidelberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: