Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
3.3.1.1, 3.4.0
-
None
-
Win11 with MSVC 2022 version 17.13.7
Description
I am using QT 5.15.13 with MSVC 2022.
Prior to version 3.3.1.1 of QTVSADDIN this code snippet was accepted in moc:
#include <QtGlobal>
#include <QtUiPlugin/QDesignerCustomWidgetInterface>
class SplitCanvas : public QObject
, public QDesignerCustomWidgetInterface
Now I am getting:
1>moc ...\FahrtauswertungsPlugInQt.h
1> D:...\FahrtauswertungsPlugInQt.h(21): Error: Undefined interface
1>C:\...\QtMsBuild\qt_work.targets(138,5): error MSB4181: The "QtRunWork" task returned false but did not log an error.
see also https://bugreports.qt.io/browse/QTVSADDINBUG-1283
Another issue was that the version QTVSADDIN 3.4.0 was reported as 3.3.1.1 inside MSVC Extension Manager, which led to some confusion as well.