从头开始构建 qt Creator:在 mingw32-make clean 步骤之后,*.pluginspec 被删除
我已经从源代码编译了 QT 2.3.1。过程如下:
cd c:\qtcreator
qmake c:\qtcreatorsrc\qtcreator.pro -o c:\qtcreater\Makefile -spec win32-g++ -r CONFIG+=release
mingw32-make release
之后,qtcreator就编译成功了,可以运行了。然后我决定清理所有不再需要的目标文件,我已经完成了:
mingw32-make clean
此后,我无法启动 qt。我收到的消息是:“无法加载核心:无法在 C:\QtCreator\lib\qtcreator\plugins,C:\QtCreator\plugins 中找到 'Core.pluginspec'”
经过简短调查后,我注意到干净步骤确实从 lib\qtcreator\plugins 中删除了所有 *.pluginspec 文件。这是生成 makefile 时的错误吗?我做错了什么吗?
我可以跳过清理步骤,但我认为保留所有对象文件没有意义,因为它们占用的磁盘空间超过 1GB。
I have compiled QT 2.3.1 from source. Here is the process:
cd c:\qtcreator
qmake c:\qtcreatorsrc\qtcreator.pro -o c:\qtcreater\Makefile -spec win32-g++ -r CONFIG+=release
mingw32-make release
After this, the qtcreator was compiled succesful and I was able to run it. Then I decided to clean all object files that are not needed anymore and I have done:
mingw32-make clean
After this, I was not able to start qt. The message I get is: "Failed to load core: Could not find 'Core.pluginspec' in C:\QtCreator\lib\qtcreator\plugins,C:\QtCreator\plugins"
After short investigation I have noticed that clean step has really removed all *.pluginspec files from lib\qtcreator\plugins. Is this bug in generation of makefile? Have I done something wrong?
I could skip clean step, but I see no point in keeping all object files since they occupy more then 1GB of disk space.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论