Failure to build with DGAMMARAY_BUILD_UI=OFF in absence of QWidgets.
Fixes #977 by making suggested change to connect to QCoreApplication.
CMAKE_PREFIX_PATHs that contained both Qt 5 and 6 would trigger
lines specific to both versions of the framework instead of only
running lines specific to the version being used for compilation.
Added ${} to all instances where CMAKE_PREFIX_PATH is compared for
correct results.
Failure to build with DGAMMARAY_BUILD_UI=OFF in absence of QWidgets. Fixes #977 by making suggested change to connect to QCoreApplication.
CMAKE_PREFIX_PATHs that contained both Qt 5 and 6 would trigger lines specific to both versions of the framework instead of only running lines specific to the version being used for compilation.
Added ${} to all instances where CMAKE_PREFIX_PATH is compared for correct results.