2015-06-30 49 views
1

我有以下我的PC-Qt5插件为什么不在Visual Studio中工作?

1) Visual Studio 2013 64bit  
2) Installed QT5.4.2 64bit with openGL 
3) Qt5Package addin 

安装插件后的配置,它显示了像这个 -

enter image description here

的菜单栏,但我什么也没配置为无的QT5中的菜单选项有效。我的意思是当我点击一个菜单项时它什么都不做。

我试着卸载并重新安装插件,但仍然有同样的问题。这个问题的解决方案是什么?

有其只出现过一次这样的错误消息: enter image description here

而在ActivityLog.xml文件,我发现这个 -

<entry> 
    <record>825</record> 
    <time>2015/07/06 04:53:50.918</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description> 
    <guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid> 
    </entry> 
    <entry> 
    <record>826</record> 
    <time>2015/07/06 04:53:50.918</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Begin package load [VSPackage]</description> 
    <guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid> 
    </entry> 
    <entry> 
    <record>827</record> 
    <time>2015/07/06 04:53:50.919</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>CreateInstance failed for package [VSPackage]</description> 
    <guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid> 
    <hr>80070002</hr> 
    <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo> 
    </entry> 
    <entry> 
    <record>828</record> 
    <time>2015/07/06 04:53:50.919</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>End package load [VSPackage]</description> 
    <guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid> 
    <hr>80004005 - E_FAIL</hr> 
    <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo> 
    </entry> 

回答

1

Qt5package插件在Visual Studio的缴费图库存在依赖性问题。所以你需要从this link下载完整的插件包。

1

完整的插件包在Visual Studio 2015中不起作用,因此我使用了Qt5Package。

我与Qt5.6.0的Beta版本有同样的问题。我找到了一个解决方法 - 在C:\ Qt \ Qt5.6.0 \ 5.6 \ msvc2015 \ mkspecs \ common \ msvc-desktop.conf Qt 5.6.0将所有特定于版本的更改拆分为单独的文件msvc-base.conf。如果复制这个文件的内容并在mscv-desktop.conf中替换“include(msvc- base.conf)”这一行,那么Qt5Package就可以识别Qt 5.6.0 Beta。

注意这仍然需要在Qt5Package中修复。

相关问题