diff -r dee5afe5301f -r 3f74d0d4af4c tests/auto/qlibrary/lib2/lib2.pro --- a/tests/auto/qlibrary/lib2/lib2.pro Mon Mar 15 12:43:09 2010 +0200 +++ b/tests/auto/qlibrary/lib2/lib2.pro Thu Apr 08 14:19:33 2010 +0300 @@ -16,14 +16,19 @@ !symbian { win32 { - src = $(DESTDIR_TARGET) + # vcproj and Makefile generators refer to target differently + contains(TEMPLATE,vc.*) { + src = $(TargetPath) + } else { + src = $(DESTDIR_TARGET) + } files = mylib.dl2 system.trolltech.test.mylib.dll } else { src = $(DESTDIR)$(TARGET) files = libmylib.so2 system.trolltech.test.mylib.so } for(file, files) { - QMAKE_POST_LINK += $(COPY) $$src ..$$QMAKE_DIR_SEP$$file && + QMAKE_POST_LINK += $$QMAKE_COPY $$src ..$$QMAKE_DIR_SEP$$file && CLEAN_FILES += ../$$file } QMAKE_POST_LINK = $$member(QMAKE_POST_LINK, 0, -2)