Link error when useing UnrealWidget

I need to use UnrealWidget to create transform widget like in 3dmax.I have added include file “UnrealEd.h” and “UnrealWidget.h”,and insert “UnrealEd” PublicDependencyModuleNames,But it show a linke error when I declare a UnrealWidget.below is error code,could any body help me out? thanks

error LNK2019: 无法解析的外部符号 “public: __cdecl FWidget::FWidget(void)” (??0FWidget@@QEAA@XZ),该符号在函数 “public: virtual void __cdecl Acontroltest1BlockGrid::BeginPlay(void)” (?BeginPlay@Acontroltest1BlockGrid@@UEAAXXZ) 中被引用
1>D:\UnrealTest\controltest1\Binaries\Win64\UE4Editor-controltest1.dll : fatal error LNK1120: 1 个无法解析的外部命令。