mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
refs #482 Rationalized the copying of files from source tree to build tree.
This commit is contained in:
@@ -54,18 +54,6 @@ DESTDIR = $$DestRoot/lib
|
||||
DLLDESTDIR = $$DestRoot/bin
|
||||
|
||||
OTHER_FILES += ./qss/*.qss ./qss/*.css ./qss/*.ini *.ico *.rc
|
||||
|
||||
win32:isEmpty(MINGW_IN_SHELL): COPY = xcopy /yi
|
||||
else: COPY = cp -r
|
||||
|
||||
win32 {
|
||||
QMAKE_POST_LINK += $$COPY $$shell_path($$PWD/qss) \
|
||||
$$shell_path($$DestRoot/bin/qss)
|
||||
}
|
||||
else {
|
||||
QMAKE_POST_LINK += mkdir -p $$shell_path($$DestRoot/bin) && \
|
||||
$$COPY $$shell_path($$PWD/qss) \
|
||||
$$shell_path($$DestRoot/bin)
|
||||
}
|
||||
COPY_FILES += $$PWD/qss/*
|
||||
|
||||
load(common_post)
|
||||
|
||||
@@ -321,7 +321,7 @@ namespace BlackGui
|
||||
{
|
||||
QString dirPath = QCoreApplication::applicationDirPath();
|
||||
if (!dirPath.endsWith('/')) dirPath.append('/');
|
||||
dirPath.append("qss");
|
||||
dirPath.append("../qss");
|
||||
return dirPath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user