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

Android: Double-clicking Java error messages bring up build file on Windows and crashes on Linux

    XMLWordPrintable

Details

    • 46ed54bc7ff277352b7ee067f1347e40a96631f8

    Description

      This is surprisingly easy to forget: If you add custom Java code to your application and it contains a compile error, Qt Creator will show you the error messages in a nice list, and you can double click on them to open the broken file at the given location.

      However, on Linux, when you do this, Qt Creator segfaults, and on Windows (in a shadow build), it will open the copy of the source file in the build directory, since the source files are copied in there before they are compiled. So any fixes you make to the compile error will be overwritten the next time you deploy the project.

      It would be great it were possible to open the source of the Java code instead of the copy when you double click the error messages.

      Plan B would be to disable the "open in line with error" feature for Java errors, since opening the copy of the file is never useful.

      And, of course, it should not crash on Linux.

      Attachments

        Issue Links

          Activity

            People

              davschul David Schulz
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: