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

Qt Creator variables not expanded in Run settings for Bare Metal device

    XMLWordPrintable

Details

    • Linux/X11
    • 345ae8e4d (14.0), 5221d53a6 (14.0)

    Description

      I'm trying to set up Qt Creator for debugging on a "bare metal" device. (ARM system, using JTAG POD with built-in GDB server.)

      I think I can generally get this to work, but I'm experiencing an issue with the Run configuration: It seems like Qt Creator variables can't be used in "Executable" and "Working directory" settings. I get the normal "variables" icon and can select from a list etc., but it looks like nothing is ever expanded; if for instance I set Executable to "%{sourceDir}/executablename" and try to start debugging, I get

      Cannot debug: Could not find executable for "%{sourceDir}/exectablename".

      in the Application Output view.

      I see this only for settings connected to a Kit for my device. With the same configuration under Desktop, the debugger generally starts as expected. Or if the file is actually missing, "%{sourceDir}" is replaced by the real source directory path in error messages. 

      Attachments

        1. bareMetal.png
          bareMetal.png
          131 kB
        2. devices.png
          devices.png
          124 kB
        3. kits.png
          kits.png
          195 kB
        4. run.png
          run.png
          257 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            toralf.lund@pgs.com Toralf Lund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes