用mingw编译qt creator?

coderzkj 2009-12-24 01:12:39
文件是这样说的:
Compiling Qt Creator
====================
You need Qt 4.5 to build Qt Creator.
We recommend that you build Qt Creator not in the source directory, but in a separate directory.
To do that, use the following commands:
mkdir $BUILD_DIRECTORY
cd $BUILD_DIRECTORY
qmake $SOURCE_DIRECTORY/qtcreator.pro
make (or mingw32-make or nmake, depending on your platform)
=============================================================

但是做了之后,除了拷贝好dll之后,出现

找不到这个玩意
Failed to load core:the shared library was not found.
Library base name:D:/qtcreator/lib/qtcreator/plugins/Nokia/Cored.dll

到处找,也找不到。
怎么回事?

谢谢!!!
...全文
501 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
tingsking18 2010-02-02
  • 打赏
  • 举报
回复
cd qt-creator-src\src\plugins\coreplugin
qmake
nmake
dyw 2010-02-01
  • 打赏
  • 举报
回复
所缺的Cored.dll是QtCreator的一个核心组件,在指定的路径下没找到。而且从文件名称看,lz编译的是debug版。

建议安装一个现成的QtCreator对照一下,看其依赖于哪些东西,这样就心中有数了。
MicroSky2813 2010-02-01
  • 打赏
  • 举报
回复
Some further digging using dependency walker i saw a mysterious thing. At some location in the log it writes:

LoadLibraryW("D:\qt\qt-creator\lib\qtcreator\plugins\Nokia\Cored.dll") called from "d:\qt\4.5.0-beta1\bin\QTCORED4.DLL" at address 0x6A2343D8.
Loaded "d:\qt\qt-creator\lib\qtcreator\plugins\nokia\CORED.DLL" at address 0x6E740000. Successfully hooked module.

So it seems it loaded it properly. But later on there is the following:

LDR: Dll QtWebKitd4.dll base 6ea00000 relocated due to collision with D:
\qt\qt-creator\lib\qtcreator\plugins\Nokia\Cored.dll

followed by

Unloaded "d:\qt\qt-creator\lib\qtcreator\plugins\nokia\CORED.DLL" at address 0x6E740000.

and at least

LoadLibraryW("D:\qt\qt-creator\lib\qtcreator\plugins\Nokia\Cored.dll")
returned NULL. Error: Die angegebene Prozedur wurde nicht gefunden (127).

(The german text reads in english: "the given procedure was not found")
MicroSky2813 2010-02-01
  • 打赏
  • 举报
回复
http://lists.trolltech.com/pipermail/qt-creator/2009-February/001538.html
貌似这个问题在这个贴老外也没成功解决
http://www.qtcn.org/bbs/read.php?tid=22483
官方的QT是用MINGW编译的,qtcreator却用vc++编译,为什么就不用mingw编译呢?

其实Qt Creator可以直接下载现成二进制版
我还google好像都没说有什么好的处理办法trolltech.com那网站上根据一回帖的内容,我认为是core.dll连接Qt的.dll后不知怎么出的问题
coderzkj 2010-02-01
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 gemfield 的回复:]
此文件有没有说是在什么平台上编译?
[/Quote]
说了 在windows上
gemfield 2009-12-24
  • 打赏
  • 举报
回复
此文件有没有说是在什么平台上编译?

16,173

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧