isEmpty(DEPTH):DEPTH = . os2:PLATFORM = os2 else:win32:PLATFORM = win else:x11:PLATFORM = x11 else:PLATFORM = unk # in debug_and_release, we need a -debug or -release suffix to get separate # output paths (it will be replaced with the correct one at runtime) debug_and_release:OUTPATH_SUFFIX = -debug else:OUTPATH_SUFFIX = OBJECTS_DIR = $$DEPTH/obj/$${PLATFORM}$${OUTPATH_SUFFIX} MOC_DIR = $$OBJECTS_DIR DESTDIR = $$OBJECTS_DIR # target.path isn't there by default QMAKE_DIR_REPLACE = OBJECTS_DIR MOC_DIR RCC_DIR target.path target.path = $$DEPTH/bin/$${PLATFORM}$${OUTPATH_SUFFIX} INSTALLS += target