English 中文(简体)
我如何在2010年视觉演播室上铺设Qt路?
原标题:How do I set up Qt paths in Visual Studio 2010?

我刚刚下载并安装了Qt SDK、Qt造物厂和视力演播室附加装置的最新版本(Imî VS 2010)。

第一,我尝试在2010年VS2010年设立一个Qt项目。 来宾

无法找到盖特建筑!

解决这个问题,具体指明盖特建筑

因此,我去谈谈Qt->Qt Options menu项目,在VS中点击Add。

现在,我有2个q:1个在C:Qt2010.05qtqmake,1个在C:Qt2010.05qtin

出于某种原因,如果我选择其中任何一个文件,就用错误信息来回答,这一版Qt是与MingW共同建造的。 (我看不出它为什么会改变它所汇编的内容,只要它汇编成册?)

花费了一段时间试图找到工作面包。 “我”补充说,我放弃并试图拿到原件 反之亦然。

Qt creator is also not configured to run with itself (lol). When I select the path to either of my 2 qmake.exe files, it comes up with an error message when I try to compile a small program:

无法找到指挥:在建设环境中进行指挥

建造项目时的错误(目标:桌面)

When executing build step Make

当我检查Qt探测器中的选择时,它说,qmake是4.7版的,并且说:

定型版本没有适当安装,请安装

在我的节目档案(x86)中安装了VS2010号附加装置,但没有ake。 这里的档案。

I m 运行Windows 7 x64。

最佳回答

改用“2010年”号,会更加容易,使你能够步入“Qt”rc。

In the top of the Qt src tree do
configure -no-webkit -no-qt3support -opensource -platform win32-msvc2010
(webkit is optional but it takes a long time to build)

Will build a .sln file which you can open in VS2010 and build

问题回答

我几乎肯定你必须首先在视力演播室重建Qt图书馆,然后才能使用这些图书馆。 这可能解释了为什么你重新获得一个盖特建筑可以发现的错误信息,并且你重新使用的Qt软件是与MinGW建造的。

我建议阅读这一博客员额,看上去如何把Qt与VS整合起来。

这看起来像一种更简单的指南,尽管它以PDF格式:

When you had older versions of Qt installed before, even if you uninstall them diligently, registry entry for Trolltech will still contain old values. To fix that, start Registry Editor (regedit.exe), scroll to:

<>HKEY_CURRENT_USERSoftwareTrolltechVersionsDefaultQtVersion

and edit it to current version number. Check other entries in Trolltech group, to make sure they are set to current version. That solved the problem of

<编码> 无法找到盖特建筑! 解决这一问题,具体指明了Qt Building。

我的发言。





相关问题
building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Visual Studio 2010 Beta 2: Can I print in color?

I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

热门标签