简体   繁体   English

将旧的Delphi 7代码迁移到Delphi XE-找不到QForms.dcu

[英]Migrating old Delphi 7 code to Delphi XE - QForms.dcu not found

I just bought and installed Delphi XE and was hoping to compile my old D7 project there. 我刚刚购买并安装了Delphi XE,并希望在那里编译我的旧D7项目。

However, I hava a source file that "uses QForms" and that generates a "file not found: qforms.dcu" and I can find no relevant reference to what to do about that file googling around... 但是,我有一个“使用QForms”并生成“找不到文件:qforms.dcu”的源文件,找不到关于该文件的相关搜索的相关参考...

Any idea how to solve it? 知道如何解决吗?

Rgds PM Rgds PM

QForms is from CLX , the Qt based cross-platform library that was introduced with Delphi 6/Kylix. QForms来自CLXCLX是随Delphi 6 / Kylix引入的基于Qt的跨平台库。 So far as I know, CLX is no longer shipped with Delphi. 据我所知,Delphi不再附带CLX。

You need to do one of the following: 您需要执行以下操作之一:

  1. Stick with Delphi 7. 坚持使用Delphi 7。
  2. Port the code to VCL. 将代码移植到VCL。 This will tie you to the Windows platform. 这将使您绑定到Windows平台。
  3. Get Delphi XE2 and use FireMonkey since clearly at some point in time this code was intended to be cross-platform. 获得Delphi XE2并使用FireMonkey,因为显然在某些时候该代码是跨平台的。

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

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