Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Qt Designer Custom Widget compile fail after upgrade to 3.3.1 #42

Open
KHeresy opened this issue Dec 5, 2024 · 1 comment
Open

Comments

@KHeresy
Copy link

KHeresy commented Dec 5, 2024

Describe the bug
The Visual C++ Qt Designer plugin project fail to compile after Qt VS Tools upgrade to 3.3.1.
The project work fine in 3.3.0.

Error happen with official example project generate by new project wizard.

To Reproduce
Steps to reproduce the behavior:

  1. Open Visual Studio, choose "Create a new project"
  2. choose "Qt Designer Custom Widget", and follow the wizard to create a new project
  3. build solution
  4. error happened: MSB4181, The "QtRunWork" task returned false but did not log an error.
    • may build sucessful first time, but fail when rebuild

Expected behavior
Build successful

Screenshots

Desktop (please complete the following information):

  • Qt VS Tool Version 3.3.1
  • Qt SDK 6.8.1
  • Visual Studio 2022 17.12.3

Additional context
build fail log

1>------ Build started: Project: QtDesignerWidget1, Configuration: Debug x64 ------
1> Qt/MSBuild: 3.3.1.0
1>Reading Qt configuration (E:/QtSDK/6/bin/qmake)
1> Qt: 6.8.1
1>moc QtDesignerWidget1Plugin.h
1> E:\QtDesignerPlugin\QtDesignerWidget1\QtDesignerWidget1Plugin.h(9:1): error: Undefined interface
1>C:\Users\Heresy\AppData\Local\QtMsBuild\qt_work.targets(138,5): error MSB4181: The "QtRunWork" task returned false but did not log an error.
1>Done building project "QtDesignerWidget1.vcxproj" -- FAILED.
@kaheimri
Copy link
Collaborator

kaheimri commented Dec 9, 2024

Thank you very much for reporting this issue; it has been recorded in our public bug tracker, where all further updates will be shared: QTVSADDINBUG-1272

As a temporary solution, you can roll back to the previous working version by following these steps:

  • Uninstall the current version (3.3.1.1) in Visual Studio.
  • Download version 3.3.0 from this link: https://download.qt.io/official_releases/vsaddin/3.3.0/.
  • Install version 3.3.0.
  • Disable the auto-update functionality in the Visual Studio Extension Manager to prevent future automatic updates.

If you have any additional questions or need further assistance, please feel free to reach out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants