title: use of undefined type 'UTextBlock' UE4
body: <p>I wrote a simple code and get an error, I can’t understand why there is no access</p>
  
  <ul>
  <li><p>C:\Users\79215\Documents\Unreal
  Projects\HowTo_UMG\Source\HowTo_UMG\MyUserWidget.h(37): note: see
  declaration of 'UTextBlock'</p></li>
  <li><p>C:\Users\79215\Documents\Unreal
  Projects\HowTo_UMG\Source\HowTo_UMG\MyUserWidget.cpp(15) : error
  C2027: use of undefined type 'UTextBlock'</p></li>
  </ul>
  
  <p>MyUserWidget.h</p>
  
  <pre><code>    #pragma once
  
  
      #include "CoreMinimal.h"
      #include "Blueprint/UserWidget.h"
  
      #include "MyUserWidget.generated.h"
  
  
      /**
       * 
       */
      UCLASS()
      class HOWTO_UMG_API UMyUserWidget : public UUserWidget
      {
          GENERATED_BODY()
  
      public:
          virtual void NativeConstruct() override;
  
      public:
  
  
          UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
          class UTextBlock* ItemTitle;
      };
  
  
  
  </code></pre>
  
  <p>MyUserWidget.cpp</p>
  
  <pre><code>#include "MyUserWidget.h"
  
  
  void UMyUserWidget::NativeConstruct()
  {
      Super::NativeConstruct();
  
      if(ItemTitle)
      {
          ItemTitle-&gt;SetText(TEXT("Name "));
      }
  }
  </code></pre>
  
  <p>I added #include "Components/TextBlock.h" and get another errors</p>
  
  <ul>
  <li><p>C:\Users\79215\Documents\Unreal
  Projects\HowTo_UMG\Source\HowTo_UMG\MyUserWidget.cpp(13) :
  error C2664: 'void UTextBlock::SetText(FText)': cannot convert
  argument 1 from 'const char [1]' to 'FText'</p></li>
  <li><p>C:\Users\79215\Documents\Unreal
  Projects\HowTo_UMG\Source\HowTo_UMG\MyUserWidget.cpp(13): note:
  No constructor could take the source type, or constructor overload
  resolution was ambiguous</p></li>
  <li><p>C:\Program Files\Epic
  Games\UE_4.24\Engine\Source\Runtime\UMG\Public\Components/TextBlock.h(162):
  note: see declaration of 'UTextBlock::SetText'</p></li>
  </ul>