Details
-
Bug
-
Resolution: Won't Do
-
P1: Critical
-
None
-
6.9.0 Beta3
-
None
-
-
17fffda2d (tqtc/dev), 405c8324e (dev), 49f63b3f8 (dev), 67767da88 (6.9), f4b88d97c (tqtc/dev)
Description
Steps to reproduce: Add following code to any (opcuaviewer) example:
#include <QtOpcUa/qopcuanodeids.h> .... auto u = QOpcUa::NodeIds::Namespace0::Unknown; qDebug() << u;
Compile and link on Windows, observe:
exe @C:\temp\opcuaviewer.exe.2940.31.jom main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) struct QMetaObject const QOpcUa::NodeIds::staticMetaObject" (__imp_?staticMetaObject@NodeIds@QOpcUa@@3UQMetaObject@@B) referenced in function "class QDebug __cdecl operator<<<enum QOpcUa::NodeIds::Namespace0>(class QDebug,enum QOpcUa::NodeIds::Namespace0)" (??$?6W4Namespace0@NodeIds@QOpcUa@@@@YA? AVQDebug@@V0@W4Namespace0@NodeIds@QOpcUa@@@Z)