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

QtCreator crashes on malformed .pri

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.2.1
    • Qt Creator 2.2.0
    • None
    • Windows 7, on Linux I only tested QtCreator 2.1 (from ArchLinux packages), which worked IIRC
    • 7b9ef7923f9a8d33f118e703695b4e23d57c1c4c

    Description

      With the latest QtCreator, when I open a project that imports a malformed .pri, the whole program crashes.

      With other versions of QtCreator, this doesn't happen, and the program just warns me that there is a syntax error when I try to compile the project. 2.0.94 (2.1.0-rc1) works fine, and IIRC, 2.1 worked fine as well.

      I've tracked down the error to the minimalistic .pro attached.

      Behaviour:

      • If I try to open it with QtCreator, the program crashes
      • If I add the mission brace and open it with QtCreator, it works
      • But if inside QtCreator I remove the brace and save again, after a few seconds the program crashes

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            raziel Ismael Barros²
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes