replace deprecated qt5 macros in cmake with target_link_libraries
repair a typo in particles link to widgets lib
Merge pull request #2202 from birarda/authentication

remove deprecated qt5 methods in CMakeList files