THRIFT-2098 Add support for Qt5+
diff --git a/lib/cpp/test/CMakeLists.txt b/lib/cpp/test/CMakeLists.txt
index 9a7d245..b524dd7 100644
--- a/lib/cpp/test/CMakeLists.txt
+++ b/lib/cpp/test/CMakeLists.txt
@@ -234,6 +234,10 @@
 add_test(NAME TQTcpServerTest COMMAND TQTcpServerTest)
 endif()
 
+if(WITH_QT5)
+add_subdirectory(qt)
+endif()
+
 #
 # Common thrift code generation rules
 #