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

Infinite loop with recursive qmake custom function

    XMLWordPrintable

    Details

    • Commits:
      517cb44bb0e93720b41a8a62301251e79d39317c

      Description

      Simple custom recursive qmake function make QtCreator stuck in infinite loop.
      Please note that the standalone qmake tool does work fine and process the project correctly.

      Create a pro file and add that in it:

      TEMPLATE = app
      
      defineReplace(pasnox) {
          isEqual(2, action) {
              isEqual(TEMPLATE, app) {
                  g = $$pasnox($${1}, yes)
              } else {
                  g = $$pasnox($${1}, no)
              }
              return($${g})
          } else:isEqual(2, yes) {
              return("yes")
          } else:isEqual(2, no) {
              return("no")
          }
      
          return()
      }
      
      u = $$pasnox(zynox, action)
      

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            filipe.azevedo Filipe Azevedo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes