QtCreator - 路径中的反斜杠阻止QT应用程序部署到android

时间:2014-06-30 11:24:41

标签: android qt deployment build qt-creator

我尝试创建qtquick扩展和使用它的app。项目根文件夹是:f:/ work / app-project。 该文件夹中有all.pro文件:

TEMPLATE = subdirs

SUBDIRS += \
    app \
    ext

ext.subdir         = ext
app.depends        = ext

当我尝试构建项目并将其部署到我的Android设备时,我遇到了错误:

Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="F:/work/app-project/build-app-Android_for_armeabi_GCC_4_8_Qt_5_3_1Debug/android-build" install
cd ext/ && ( test -e Makefile || D:/Qt/5.3/android_armv5/bin/qmake.exe F:/work/app-project/app/ext/ext.pro -spec android-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ) && D:/Qt/Tools/mingw482_32/bin/mingw32-make -f Makefile install
mingw32-make[1]: Entering directory 'f:/work/app-project/build-app-Android_for_armeabi_GCC_4_8_Qt_5_3_1-Debug/ext'
/usr/bin/sh: D:MinGWmsys1.0workapp-projectbuild-app-Android_for_armeabi_GCC_4_8_Qt_5_3_1-Debugandroid-build/libs/armeabi/: No such file or directory
/usr/bin/sh: D:MinGWmsys1.0workapp-projectbuild-app-Android_for_armeabi_GCC_4_8_Qt_5_3_1-Debugandroid-build/libs/armeabi/: No such file or directory

传递给MSYS的路径似乎包含MS斜杠 - ' \'和MSYS简单吃掉它。我怎么能纠正这个?

0 个答案:

没有答案