You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or new action
qt6 build with Windows / MSVC 2019 / Qt 6.5.2 generates this error (most of the error is the cl.exe command & parameters)
-I..\..\..\..\seamly2d\src\libs\ifc
-I.
-I..\..\..\..\seamly2d\src\libs\vtools
-I..\..\..\..\seamly2d\src\libs\vwidgets
-I..\..\..\..\seamly2d\src\libs\vformat
-I..\..\..\..\seamly2d\src\libs\vpatterndb
-I..\..\..\..\seamly2d\src\libs\fervor
-I..\..\..\..\seamly2d\src\libs\vmisc
-I..\..\..\..\seamly2d\src\libs\vgeometry
-I..\..\..\..\seamly2d\src\libs\ifc
-I..\..\..\..\seamly2d\src\libs\vlayout
-I..\..\..\..\seamly2d\src\libs\qmuparser
-I..\..\..\..\seamly2d\src\libs\vpropertyexplorer
-I..\..\..\..\seamly2d\src\libs\vtest
-I..\..\..\..\seamly2d\src\libs\xerces-c\msvc\include
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtXml
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtPrintSupport
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtWidgets
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtGui
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore
-Imoc
-I/include
-ID:\ProgramFiles\Qt6\6.5.2\msvc2019_64\mkspecs\win32-msvc
-Foobj\
@C:\Users\SLSPEN~1\AppData\Local\Temp\nm8D94.tmp
ifcdef.cpp
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(248): errorC2027: use of undefined type'QObject'
D:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore/qsharedpointer_impl.h(36): note: see declaration of 'QObject'
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(248): errorC3861: 'tr': identifier not found
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(251): errorC2027: use of undefined type'QObject'
D:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore/qsharedpointer_impl.h(36): note: see declaration of 'QObject'
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(251): errorC3861: 'tr': identifier not found
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(254): errorC2027: use of undefined type'QObject'
D:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore/qsharedpointer_impl.h(36): note: see declaration of 'QObject'
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(254): errorC3861: 'tr': identifier not found
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(257): errorC2027: use of undefined type'QObject'
D:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore/qsharedpointer_impl.h(36): note: see declaration of 'QObject'
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(257): errorC3861: 'tr': identifier not found
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(260): errorC2027: use of undefined type'QObject'
D:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore/qsharedpointer_impl.h(36): note: see declaration of 'QObject'
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(260): errorC3861: 'tr': identifier not found
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(264): errorC2027: use of undefined type'QObject'
D:\ProgramFiles\Qt6\6.5.2\msvc2019_64\include\QtCore/qsharedpointer_impl.h(36): note: see declaration of 'QObject'
..\..\..\..\seamly2d\src\libs\ifc\ifcdef.cpp(264): errorC3861: 'tr': identifier not found```
**Is this for a particular OS?**
**Can this be handled in Github Actions (https://github.com/marketplace?type=actions)**
The fix is to include the Qt6's QObject:
``` #include<QObject>
The text was updated successfully, but these errors were encountered:
Describe the problem or new action
qt6 build with Windows / MSVC 2019 / Qt 6.5.2 generates this error (most of the error is the cl.exe command & parameters)
The text was updated successfully, but these errors were encountered: