Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 2.1.0-beta2
-
None
-
Windows XP 32bit, MSVC 2008 as compiler, CMake 2.8.0
Description
Listing QML files seems not to be possible when using CMake based projects. One way to add those files to be listed in project (at least with Visual Studio) is using add_custom_target() and listing files after SOURCES. Those files does not seem to be listed in Qt Creator (the same thing works in Visual Studio 2008).
Used line in CMake 2.8.0:
add_custom_target(QmlFiles ALL ${CMAKE_COMMAND} -E echo "Meter.qml" SOURCES Meter.qml)
It only does dummy operation by echoing something and ALL argument is probably useless too.