main
朱子楚\zhuzi 2023-04-04 09:08:10 +08:00
parent 0c59a233ea
commit 08457dc75e
1 changed files with 3 additions and 3 deletions

View File

@ -6,15 +6,15 @@ SOLIBFILE_PATH = $$OUT_PWD/libFluentUI.so
ANDROID = NO ANDROID = NO
android{ android{
ANDROID=YES ANDROID=YES
QMAKE_PRE_LINK *= md $$replace(OUTP, /, $$QMAKE_DIR_SEP) QMAKE_PRE_LINK *= md $$replace(OUTP, /, \\)
}else{ }else{
DESTDIR += $$OUTP DESTDIR += $$OUTP
} }
SHAREDSCRIPT = "$$PWD\win_install.bat" SHARED "$$PWD" "$$PRESET_PATH" "$$BUILDBIN_PATH" "$$QTQMLFLUENT_PATH" $$ANDROID "$$SOLIBFILE_PATH" SHAREDSCRIPT = "$$PWD\win_install.bat" SHARED "$$PWD" "$$PRESET_PATH" "$$BUILDBIN_PATH" "$$QTQMLFLUENT_PATH" $$ANDROID "$$SOLIBFILE_PATH"
STATICSCRIPT = "$$PWD\win_install.bat" STATIC "$$PWD" "$$PRESET_PATH" "$$BUILDBIN_PATH" "$$QTQMLFLUENT_PATH" $$ANDROID "$$SOLIBFILE_PATH" STATICSCRIPT = "$$PWD\win_install.bat" STATIC "$$PWD" "$$PRESET_PATH" "$$BUILDBIN_PATH" "$$QTQMLFLUENT_PATH" $$ANDROID "$$SOLIBFILE_PATH"
CONFIG(sharedlib){ CONFIG(sharedlib){
QMAKE_POST_LINK *= $$replace(SHAREDSCRIPT, /, $$QMAKE_DIR_SEP) QMAKE_POST_LINK *= $$replace(SHAREDSCRIPT, /, \\)
} }
else{ else{
QMAKE_POST_LINK *= $$replace(STATICSCRIPT, /, $$QMAKE_DIR_SEP) QMAKE_POST_LINK *= $$replace(STATICSCRIPT, /, \\)
} }