Mimetypes: Build fix for Android builds on Windows
Due to Android's multi-abi the build will fail due to concurrent access: cmd /c C:\Projects\Qt\repo\qtbase\src\corelib\mimetypes\mime\generate.bat C:\Projects\Qt\repo\qtbase\src\corelib\mimetypes\mime\packages\freedesktop.org.xml > .rcc\qmimeprovider_database.cpp The process cannot access the file because it is being used by another process. Change-Id: I647e0a6d8aa03cf116b08a1dce6e61e8882661f4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
3dd13d4075
commit
d4207cb1a9
@ -26,9 +26,12 @@ qtConfig(mimetype) {
|
||||
|
||||
qtConfig(mimetype-database) {
|
||||
outpath = .rcc
|
||||
android {
|
||||
outpath = $$outpath/$${QT_ARCH}
|
||||
}
|
||||
debug_and_release {
|
||||
CONFIG(debug, debug|release): outpath = .rcc/debug
|
||||
else: outpath = .rcc/release
|
||||
CONFIG(debug, debug|release): outpath = $$outpath/debug
|
||||
else: outpath = $$outpath/release
|
||||
}
|
||||
|
||||
mimedb.depends = $$PWD/mime/generate.pl
|
||||
|
Loading…
x
Reference in New Issue
Block a user