简体   繁体   English

无法编译 QT 创建快速应用项目

[英]Unable to compile QT Create Quick Application Project

I am new to QT Creator and I have installed QT Creator 5.6.2 with MinGW 4.9.2 32bit.我是 QT Creator 的新手,我已经安装了带有 MinGW 4.9.2 32 位的 QT Creator 5.6.2。 I have a problem compiling a quick application project as it always shows this error message:我在编译快速应用程序项目时遇到问题,因为它总是显示以下错误消息:

Could not create directory "C:\Users\Hello\Documents\Error in " Util.asciify("build-untitled-Desktop_Qt_5_6_2_MinGW_32bit-Debug")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0xb05718) is not a function"
Error while building/deploying project untitled (kit: Desktop Qt 5.6.2 MinGW 32bit)
When executing step "qmake"

By chance I stumbled across the exact same issue today on a native Ubuntu computer and I found the solution here: https://bugreports.qt.io/browse/QTBUG-59509偶然地,我今天在本机 Ubuntu 计算机上偶然发现了完全相同的问题,我在这里找到了解决方案: https : //bugreports.qt.io/browse/QTBUG-59509

"Please go to Preferences > Build & Run > General and click "reset" behind "Default build directory". Looks like this is an incompatibility when using Qt Creator 4.3 without having used Qt Creator 4.2 before, and then going to Qt Creator 4.2 instead." “请转到首选项> 构建和运行> 常规,然后单击“默认构建目录”后面的“重置”。看起来这是在使用 Qt Creator 4.3 时不兼容,而之前没有使用过 Qt Creator 4.2,然后转而使用 Qt Creator 4.2 .”

I thought to share the solution, because it seems to be a quite undocumented issue!我想分享解决方案,因为它似乎是一个相当无证的问题!

I am a beginer in QT but it is easy to solve... Just go to Projects and change the content at Build Directory for a valid directory.我是 QT 的初学者,但它很容易解决......只需转到项目并更改构建目录中的内容以获得有效目录。 Good Luck祝你好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM