简体   繁体   English

QT编译错误

[英]QT compile error

I was playing with a tiny QT 5.5.1 app under windows/mingw. 我正在使用Windows / mingw下的一个小型QT 5.5.1应用程序。 Suddenly it stopped compile with a weird error like on the screenshot. 突然间它停止了编译,出现了一个像屏幕截图那样的奇怪错误。

I tried to clean all, rebuild, run qmake. 我试图清理所有,重建,运行qmake。 No results. 没有结果。

How to get rid of it? 如何摆脱它?

q

Ok, to all downvoters, I've solved it by myself. 好的,对所有的downvoters,我自己解决了。

The problem was that QT was not able to create Debug directory where it should put compiled files. 问题是QT无法在应该放置编译文件的地方创建Debug目录。 Don't ask me why. 不要问我为什么。

Thus what we have. 因此我们拥有。 No output directory -> no main.o created -> this weird compile error. 没有输出目录 - >没有创建main.o - >这个奇怪的编译错误。

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

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