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

QMAKE_EXTRA_COMPILERS output is not deployed to remote devices when added to INSTALLS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.8.1
    • Fix Version/s: Qt Creator 4.10.0-beta1
    • Component/s: Remote Linux
    • Labels:
      None
    • Environment:
      Ubuntu 16.04
    • Platform/s:
      Linux/Other display system
    • Commits:
      261d7752b00dfe7191ebd1436e9e96a5212e1bb3 (qt-creator/qt-creator/master)

      Description

      Creating a QMAKE_EXTRA_COMPILERS and writing the output to the targets .files variable should let qt-creator deploy the output to a remote linux device. Using QMAKE_EXTRA_TARGETS and INSTALLS works as expected. This is a small example, which demonstrates the issue.

      TEMPLATE = aux
       
      DESTDIR = $$shadowed($${PWD})
       
      txt_compiler.output = $$DESTDIR/${QMAKE_FILE_BASE}.txt
      txt_compiler.commands = echo test > ${QMAKE_FILE_OUT}
      txt_compiler.depends = ${QMAKE_FILE_IN}
      txt_compiler.variable_out = TXT.files
      txt_compiler.input = TXT
      txt_compiler.CONFIG *= no_link target_predeps
      QMAKE_EXTRA_COMPILERS *= txt_compiler
       
      TXT *= test1.in \
             test2.in
       
      TXT.path = /test/
      TXT.CONFIG *= no_check_exist
      INSTALLS *= TXT

      In this example test1.txt and test2.txt should be deployed by qt-creator, but it is not. On the other hand, running qmake, make and make installs, those files are installed correctly.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-21855
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            evotion Stefan Sonski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes