If it runs in the debugger, then use the debugger to find where the crash occurs by looking at the call stack at the point of the crash. We aren't sitting there looking over your shoulder, so how are we to know what else you are doing that could cause a problem?

If your CMake script builds an executable, then the problem is not in the CMake script. It's in your code (or your run time environment). Be sure that the Qt installation that find_package() is finding (and building against) is the same one that your run time is calling on to load shared libraries. Use the "ldd" command to find which libraries have been linked to and compare those with your path.

using namespace QtCharts
All of the classes in the QtCharts library are in the QtCharts namespace. If you don't want to have to qualify every class with the namespace, you add the "using" directive. Otherwise, every time you declare a QPolarChart instance, you have to declare it as QtCharts::QPolarChart and so forth.