Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29307

DesignStudio project template creates faulty project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 10.0.2
    • None
    • macOS

      If dashes used  in the project name, then the created project  cannot be compiled because the same project name is used as module uri and used as ```import project-name``` which is not parsed correctly and leads to error.
       
      Reproducing steps:

      • Create qtquick application
      • Use a project name that includes dashes, i.e test-me-project
      • Check "Creates a project that you can use in design studio" on
      • ...next till the end
      • In the created project, the project name is used as ``` import test-me-project``` which errors out
         
        Expected:
        The user should either not be allowed to give project name with dashes or that name should be preprocessed before used as module uri, like ``` import testMeProject ```

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            semih.yavuz Semih Yavuz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes