0

I want to compile QT 5.0 similar to the package that is offer on http://qt-project.org/downloads for Visual Studio 2012.

I followed these instructions http://qt-project.org/wiki/Building-Qt-5-from-Git and they work pretty well, only problem is, if I rename the folder where I compiled QT (or move the folder someplace else), Visual Studio starts complaining when I try to build a QT Application, that it does not find debug information or platform is missing, is like somehow the compilation files embedded the full path inside them to look for dependencies instead of been relative paths.

The reasons I do not use the package provided for VS in the website is because I also need an x86 version of it.

Another problem I am facing is that the compilation folder has thousands of files that takes a long time to move or delete, in the package from the website there are not so many files.

Does anyone know what options I have to give QT when compiling it the first time?

I use “-debug_and_release -c++11 -opensource -nomake examples -nomake tests”</p>

Thanks!

4

1 回答 1

0

在 VS 上应该有 Qt5 菜单。必须有类似 Qt Options 的东西。从版本选项卡中,您必须将新路径添加为新版本,并可能删除旧路径,因为它不再存在。可能您还需要从项目的上下文菜单中更改项目的 Qt 版本。我面前没有VS,但根据我的视觉记忆,这应该可以解决问题。

于 2013-05-22T22:20:27.940 回答