Ho installato Qt5 e Qt3d dal repository ubuntu-developers (sono su Ubuntu 13.04) e vorrei compilare un'applicazione molto semplice con CMake (la mia versione è 2.8.10.1). Un CMakeLists.txt lavorare per un HelloWorld Qt è la seguente:CMake con Qt3d per 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)
Ma quale sarebbe il CMakeLists.txt di un programma di base Qt3d come in questo esempio: https://gitorious.org/wiki-sources/wiki-sources/trees/master/qt3d/glview
'Qt53D' sembra voler i suffissi del profilo, ad esempio' Qt53DCore' invece di 'Qt53D' – Smar