PDA

View Full Version : Can not copy the file to another folder by qmake



stereoMatching
8th March 2014, 07:48
os : win7 64bits
Qt : 5.2.1
compiler : mingw4.8

.pro




QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = smsExp
TEMPLATE = app

win32 {
DESTDIR_WIN = c:/wamp/www/bridge
DESTDIR_WIN ~= s,/,\\,g
QMAKE_POST_LINK += $${QMAKE_COPY} $$PWD/main.cpp $${DESTDIR_WIN}
}

SOURCES += main.cpp\
MainWindow.cpp

HEADERS += MainWindow.hpp

FORMS += MainWindow.ui


what kind of errors I make?Thanks