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

' is not handled when creating a project and causes a name error crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.10.0-beta1
    • Qt Creator 4.8.2, Qt Creator 4.9.0
    • None
    • Occurs both in windows and Linux. not sure about MAC but it seems to be an IDE issue so I can bet it's there as well. Not hardware related.
    • Linux/X11, Windows

    Description

      When creating or adding a qml file for a project and the file path happens to contain an appostrophy ('). The editor fails to create that project. presumably by appending the error message to the path somewhat.

      Just realised this is only for qml based project. Qt widget project work just fine. The files are created but there's that one extra folder. Take a look at the attached images.

      Then there is this file : /home/nhlaluko/X's/untitled/Error in " Util.fileName('/home/nhlaluko/X's/untitled', 'pro')": SyntaxError: Expected token `)'

      In red are actually a folder and file name

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            nhlalukog Nhlaluko Garry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes