diff -rup a/src/3d/CMakeLists.txt b/src/3d/CMakeLists.txt --- a/src/3d/CMakeLists.txt 2018-05-18 14:01:05.000000000 +0200 +++ b/src/3d/CMakeLists.txt 2018-06-11 14:59:34.456085339 +0200 @@ -145,7 +145,7 @@ INCLUDE_DIRECTORIES(SYSTEM ADD_LIBRARY(qgis_3d SHARED ${QGIS_3D_SRCS} ${QGIS_3D_MOC_SRCS} ${QGIS_3D_HDRS} ${QGIS_3D_RCC_SRCS}) -qt5_use_modules(qgis_3d 3DCore 3DRender 3DInput 3DLogic 3DExtras) +TARGET_LINK_LIBRARIES(qgis_3d Qt5::3DCore Qt5::3DRender Qt5::3DInput Qt5::3DLogic Qt5::3DExtras) GENERATE_EXPORT_HEADER( qgis_3d