Hey there,
I have a command specific to win / mac / linux. I tried to run it this way in my qmake project:
Qt Code:
win32: QMAKE_POST_LINK += $${QMAKE_COPY} ..\\..\\lib\\$${TARGET}.dll ..\\..\\bin macx: QMAKE_POST_LINK += $${QMAKE_COPY} ../../lib/lib$${TARGET}.dylib ../../bin linux: QMAKE_POST_LINK += $${QMAKE_COPY} ../../lib/lib$${TARGET}.so ../../binTo copy to clipboard, switch view to plain text mode
It seems that ubuntu doesn't fit into the "linux" category but "unix" category. The problem is MacOSX also fits in "unix".
How can I differentiiate them?
Thanks.
Bookmarks