UI1 ros2 error LNK2001: "public: virtual struct QMetaObject const * __cdecl solve. edit cmakelists. Hi I'm CreateMaker Inc. We faced error working to make ROS2 Programming. error LNK2001: "public: virtual struct QMetaObject const * __cdecl... For use UI (Qt5) at cpp. we need to use command QMetaObject::connectSlotsByName() this. When we use this we faced error like that. So we edit Cmakelists. first. set(UI_FILES ui/maingui.ui) set(${PROJECT_NAME}_HDRS include/${PROJECT_NAME}/station_gui.h inc.. 2024. 2. 13. 이전 1 다음