ROS2 Beta2, how to include the RCL into Qt?

Hi thomas,
Thank you for the reply!
How should I call the setup file inside qt?

The problem is: every time I use any function in rclcpp, for example, rclcpp::init(arg, argv), qt would crush at run time.
No error message from Qt it simply crushes. Building in Qt was fine.

For testing you can just import the two libraries: rclcpp and PocoFoundation.

Everything was working fine on Beta1 with Qt. Only with the Beta2 version, I have this problem.