を使用する必要がありますVisual Studio Add-In for Qt 5
。Qt 4 用のものもありますが、その古いバージョン (1.1.11) は VS 2012 をサポートしていません。これに関する最新のブログ投稿は次の場所にあります。
http://blog.qt.digia.com/blog/2013/04/11/visual-studio-add-in-1-2-1-for-qt-5-released/
とりわけ、ここに書いたものよりも多くの機能を利用できます。最新のリリースについては、次の変更ログを参照してください。
Qt Visual Studio アドイン バージョン 1.2.1 には、複数のバグ修正と改善が含まれています。
Changes
-------
- Qt 5.0.1 help documents included
- Qmake wrapper COM component removed and replaced with command line tool
qmakefilereader to avoid need to load Qt5 library binaries to Visual Studio
process. And to get installation of add-in easier, specially with VS2008.
- Qt4 add-in is not allowed to run same time, if found it will be closed.
Also if Qt4 add-in is present in system, default editor values for .ts, .ui
and .qrc file types are not permanently overwritten by Qt5 add-in. Values are
written when Qt5 add-in loads and Qt4 values are set when Qt5 add-in unloads.
This should make it possible to install and use both Qt4 and Qt5 versions of
add-in. Not to use same time but in turns. Though user must be careful what he
does.
- Recognizing Qt5 CE build. (QTVSADDINBUG-153)
- Incorrect additional directories paths set when Qt modules added/removed from
Qt Project Settings page. (QTVSADDINBUG-151)
- Include directories search path for some Qt modules fixed (QTVSADDINBUG-150)
- Invalid Qt module names fixed (QTVSADDINBUG-142)
- Crash when importing .pri file fixed (QTVSADDINBUG-139)
- Qt default settings saving problem fixed (QTVSADDINBUG-137)
- Naming of precompiled header fixed (QTVSADDINBUG-132)
- Support for debugger visualizers in VS2012 (QTVSADDINBUG-129)
- Setting Qt libraries path for debugging session fixed (QTVSADDINBUG-125)