Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Undefined DESTDIR_TARGET and other variables in Mac OSX
Forum Updated to NodeBB v4.3 + New Features

Undefined DESTDIR_TARGET and other variables in Mac OSX

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 5.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aji005
    wrote on last edited by
    #1

    I have a .pro file where I define a QMAKE_POST_LINK step, looking like this:

    win32:QMAKE_POST_LINK = $(DESTDIR_TARGET)
    linux:QMAKE_POST_LINK = $$DESTDIR_TARGET
    mac {
    QMAKE_POST_LINK = $$DESTDIR_TARGET
    }

    This is not working in Mac, as $$DESTDIR_TARGET is empty. This is working fine in Windows and Linux. I added a message() line to show the contents of that and other variables, and they seem to be empty as well.

    Any thoughts? I´m using Qt 4.6 on Leopard 10.5.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hardcodes.de
      wrote on last edited by
      #2

      Funny, seems still to be a problem in the year 2013. Did you (or anyone else) file a bug?

      while(!sleep){++sheep;}

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hardcodes.de
        wrote on last edited by
        #3

        Gonna try this on a Windows machine to describe the issue more precisely and file a bug on my own.

        while(!sleep){++sheep;}

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hardcodes.de
          wrote on last edited by
          #4

          Just for reference, you can use OUT_PWD and TARGET.

          while(!sleep){++sheep;}

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hardcodes.de
            wrote on last edited by
            #5

            Also empty with Windows for me. Is it by design?

            while(!sleep){++sheep;}

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved