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

Cannot compile project with Qt Addins 2.6.0.6: error MSB4181: The "QtRunWork" task returned false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 2.6.0 (rev.07)
    • 2.6.0 (rev.06)
    • Build-time integration
    • None
    • Visual Studio 2019 - 16.7.6
    • Windows
    • dbc37e4f6945df5c8180017590411381ff8dba2e

    Description

      Since the update to Qt 2.6.0.6, I have a compilation error with project which contain .ui files and .qrc files.
      If I compile each file, it works.
      But when I rebuild the whole project, I have this error :

      1>------ Build started: Project: XXXXX, Configuration: Debug x64 ------
      1>Uic'ing Form\YYYYY.ui...
      1>Uic'ing Form\ZZZZZZ.ui...
      1>Uic'ing Form\WWWWWW.ui...
      1>Rcc'ing Res\XXXX.qrc...
      1> RCC Parse Error: 'XXXX\Form\YYYYY.ui' Line: 2 Column: 18 [unexpected tag: ui]
      1>C:\Users\....\AppData\Local\QtMsBuild\qt_globals.targets(280,5): error MSB4181: The "QtRunWork" task returned false but did not log an error.
      1>Done building project "XXXXX.vcxproj" -- FAILED.
      

      Note that the file YYYYY.ui is correct, the error is when recreation the rcc_XXXXX.cpp

      I joined the .ui file which seems fine from my perspective.

      Attachments

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

        Activity

          People

            mecfc Miguel Costa
            francoisj Francois JEAN
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes