mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 07:03:46 +08:00
update
This commit is contained in:
parent
a8701256d4
commit
fcb8da2c50
@ -25,18 +25,10 @@ CONFIG(debug,debug|release) {
|
|||||||
win32 {
|
win32 {
|
||||||
contains(QT_ARCH, i386) {
|
contains(QT_ARCH, i386) {
|
||||||
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/*.dll) $$DESTDIR
|
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/*.dll) $$DESTDIR
|
||||||
contains(QMAKE_CC, cl) {
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
||||||
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
|
||||||
} else {
|
|
||||||
QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x64/*.dll) $$DESTDIR
|
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x64/*.dll) $$DESTDIR
|
||||||
contains(QMAKE_CC, cl) {
|
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
||||||
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
|
|
||||||
} else {
|
|
||||||
QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,25 +18,12 @@ copy /y %PWD_PATH%\FluentUI.h %BUILDER_BIN_PATH% & copy /y %PRESET_PATH%\* %
|
|||||||
|
|
||||||
if %ANDROID% == YES copy /y %LIBFILE_PATH% %BUILDER_BIN_PATH%
|
if %ANDROID% == YES copy /y %LIBFILE_PATH% %BUILDER_BIN_PATH%
|
||||||
|
|
||||||
SET QMLPLUGINDUMP1_PATH=%QT_QML_FLUENT_PATH%\..\..\bin\qmlplugindump.exe
|
|
||||||
SET QMLPLUGINDUMP2_PATH=%QT_QML_FLUENT_PATH%\..\..\bin\qmlplugindump-qt6.exe
|
|
||||||
|
|
||||||
if %1 == SHARED (
|
if %1 == SHARED (
|
||||||
echo running install to qtqml folder
|
echo running install to qtqml folder
|
||||||
del /s /q %PRESET_PATH%\plugins.qmltypes
|
del /s /q %PRESET_PATH%\plugins.qmltypes
|
||||||
if exist %QMLPLUGINDUMP1_PATH% (
|
%QT_QML_FLUENT_PATH%\..\..\bin\qmlplugindump.exe -nonrelocatable FluentUI 1.0 > %PRESET_PATH%\plugins.qmltypes
|
||||||
%QMLPLUGINDUMP1_PATH% -nonrelocatable FluentUI 1.0 > %PRESET_PATH%\plugins.qmltypes
|
rmdir /s /q %QT_QML_FLUENT_PATH% & md %QT_QML_FLUENT_PATH%
|
||||||
rmdir /s /q %QT_QML_FLUENT_PATH% & md %QT_QML_FLUENT_PATH%
|
copy /y %BUILDER_BIN_PATH% %QT_QML_FLUENT_PATH%
|
||||||
copy /y %BUILDER_BIN_PATH% %QT_QML_FLUENT_PATH%
|
xcopy %PRESET_PATH% %QT_QML_FLUENT_PATH% /s/e/i/y
|
||||||
xcopy %PRESET_PATH% %QT_QML_FLUENT_PATH% /s/e/i/y
|
cd %QT_QML_FLUENT_PATH%
|
||||||
cd %QT_QML_FLUENT_PATH%
|
|
||||||
) else (
|
|
||||||
SET QT_QML_FLUENT_PATH2 = %QT_QML_FLUENT_PATH%\..\..\share\qt6\qml\Fluent
|
|
||||||
%QMLPLUGINDUMP2_PATH% -nonrelocatable FluentUI 1.0 > %PRESET_PATH%\plugins.qmltypes
|
|
||||||
rmdir /s /q %QT_QML_FLUENT_PATH2% & md %QT_QML_FLUENT_PATH2%
|
|
||||||
copy /y %BUILDER_BIN_PATH% %QT_QML_FLUENT_PATH2%
|
|
||||||
xcopy %PRESET_PATH% %QT_QML_FLUENT_PATH2% /s/e/i/y
|
|
||||||
cd %QT_QML_FLUENT_PATH2%
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user