Use Qt5 compatible qRestAPI version.
Fix Qt5 dependencies in case only CTK_BUILD_ALL is enabled.