Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 2.1.0-rc1
-
None
-
mac
Description
I am about to create my first QML-Plugin. I created a new QML-component project and entered the name "xxx-plugin". Creator uses this name in many places in the new generated project. A dash ('-') is neither allowed in C++ class names nor in QML-Types. Because of this, QtCreator created a bunch of files that do not build.
I suggest one of the following workarounds:
1) Replace invalid characters with X
2) Do not accept such a project name