Я установил Qt5 и Qt3d из репозитория ubuntu-разработчиков (я под Ubuntu 13.04), и я хотел бы скомпилировать очень простое приложение с CMake (моя версия 2.8.10.1). Работающий CMakeLists.txt для HelloWorld Qt следующая:CMake с Qt3d для Qt5?
cmake_minimum_required(VERSION 2.8.8)
project(testproject)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
# Find the QtWidgets library
find_package(Qt5Widgets)
# Tell CMake to create the helloworld executable
add_executable(helloworld helloworld.cpp)
# Use the Widgets module from Qt 5.
qt5_use_modules(helloworld Widgets)
Но что было бы CMakeLists.txt базовой программы Qt3d как в этом примере: https://gitorious.org/wiki-sources/wiki-sources/trees/master/qt3d/glview
'Qt53D', похоже, нуждается в суффиксах профиля, например' Qt53DCore' вместо 'Qt53D' – Smar