将Qt5.0.2链接到Visual Studio 2012

时间:2021-04-26 23:15:41

I am trying to link Qt5.0.2 to Visual Studio 2012 so I can do some GUI programming in C++ inside the Visual Studio environment. I have Downloaded and install ActivePerl and added Perl to the PATH environment variable and Create Perl file extension. I than downloaded Qt and installed it. I opened my Visual Studio Command prompt and changed to my C:Qt\Qt5.0.2 directory. Inside this directory I have a 5.0.2 folder, Tools folder, License folder, MaintenanceTool files and so on. Once inside of my C:Qt\Qt5.0.2 directory, I inserted this command: configure -debug-and-release -opensource -shared -platform win32-msvc2012. I get an error saying 'configure' is not recognized as a an internal or external command, operational program or batch file.

我试图将Qt5.0.2链接到Visual Studio 2012,这样我就可以在Visual Studio环境中用C ++进行一些GUI编程。我已经下载并安装了ActivePerl并将Perl添加到PATH环境变量和Create Perl文件扩展名中。我下载了Qt并安装了它。我打开了我的Visual Studio命令提示符并更改为我的C:Qt \ Qt5.0.2目录。在这个目录里面我有一个5.0.2文件夹,Tools文件夹,License文件夹,MaintenanceTool文件等等。进入我的C:Qt \ Qt5.0.2目录后,我插入了这个命令:configure -debug-and-release -opensource -shared -platform win32-msvc2012。我收到一条错误,说'configure'未被识别为内部或外部命令,操作程序或批处理文件。

I have no idea what this means and what to do. I have been following my instructions from this aticle http://briolidz.wordpress.com/2012/03/07/compiling-qt-with-visual-studio-2010/

我不知道这意味着什么,做什么。我一直在遵循我的指示http://briolidz.wordpress.com/2012/03/07/compiling-qt-with-visual-studio-2010/

Can anyone help me with this?

谁能帮我这个?

Thanks

1 个解决方案

#1


0  

If I was you, I would follow instructions posted here http://qt-project.org/wiki/Building_Qt_5_from_Git

如果我是你,我会按照这里发布的说明http://qt-project.org/wiki/Building_Qt_5_from_Git

#1


0  

If I was you, I would follow instructions posted here http://qt-project.org/wiki/Building_Qt_5_from_Git

如果我是你,我会按照这里发布的说明http://qt-project.org/wiki/Building_Qt_5_from_Git