I had been using VS2013 for some time and a Qt Tools tab was present (as shown in the screenshot below) after installing Qt Visual Studio Tools
PROBLEM: Now I have installed VS 2019 Community edition. I have already installed Qt Visual Studio Tools extension. But still, the Qt tab is missing in the ribbon (as shown in the screenshot below). Due to this, I am also not able to set the path of the Qt exe correctly.
PS: Qt extension is definitely installed properly because when I try to create a new project, it shows the various options to create Qt project.
In Visual Studio 2019 theQt VS Tools menu is a sub-menu in the Extensions menu.
Note: the binaries created with VS2013 are not compatible with VS2019, for it to work you need Qt build with Visual Studio 2015 or 2017.
Related
I've searched all over the internet to no avail. Is there a visual studio Prism template pack for Visual Studio v7.0.1 for Mac?
The closest I've seen to this template is for Xamarin Studio which is not compatible with the new Visual Studio.
No there is not currently a template pack available for VS4Mac. It is something that is being discussed, and will likely get visited once we get the v7.0 preview released. You can track the issue here.
While it's not exactly something that's currently integrated with VS or VS4Mac you can use the dotnet templates available here. They do work cross platform, currently from the dotnet cli, but the VS team is working on integration for all of the templates for both VS2017 and VS4Mac.
You can now install the Templates on VS4Mac. Go to Visual Studio => Extensions, select the Gallery tab, click the Repository drop-down, and select Manage Repositories and add https://prism.azureedge.net/main.mrep
Then on the search bar, you can look up for prism and install the template.
I'm not able to create a Qt project with Visual Studio Community 2015 in Windows 10.
Steps I followed to setup QT with VS2015,
Installed visual studio community 10
Downloaded and installed QT for VS2015
Added QtPackage in VS2015 "Extensions and Updates", also added Qt version.
How I create new QT project
I select "QT application" under Visual C++ templates, which prompts couple of Qt project options to create application, but at the last before creating a project visual studio throws error
'C:\Users\users\AppData\Local\Temp\h451xhqd.vcproj' cannot be opened because its project type (.vcproj) is not supported by this version of the application.
However, I'm able to create a project with QT creator. Any help or pointer will be helpful.
PS: I'm new to VisualC++ :)
Below are the similar SO question that didn't helped
Question 1
Question 2
A video link from youtube
Finally, I was able to create a QT project.
Actually problem was with VC++ setup and template files. These two link was very helpful to me.
Running setup mentioned in section "Visual C++ : Project creation failure after Update"
Renaming ComponentModelCache
My setup consists of Microsoft Visual Studio Express 2013 and Qt 5.5.1. For the Debugger(s) I use CDB from the Windows SDK. I use both toolchains, 32bit and 64bit.
To clean up my machine, I recently deinstalled all Microsoft Visual Studio stuff including the debuggers. Now, after the new installation of all the tools, I am not able to set up the 64bit debugger anymore. The interesting thing is that both debuggers are correctly autodetected under the Debuggers tab Tools -> Options -> Debuggers.
Under the Kits tab, I see the yellow triangle on the 64bit entry. I also see that None is selected in the Debugger line. But I am not able to change this setting because it is deactivated.
I finally found a solution to this problem by editing a Qt Creator configuration file manually. The file toolchains.xml is found here in Windows 7:
%APPDATA%\Roaming\QtProject\qtcreator
Additional Note:
Since the original post, I've updated to Visual Studio 2015 Express and Qt 5.6. This environment is a lot simpler to set up than VS2013.
Highlights of Visual Studio Add-In 1.1.11 include:
Documentation support for Visual Studio 2010, and documentation updated
Fixed always moc’ing problem. (QTVSADDINBUG-92)
Fixed .pro file opening having include to “.” path. (QTVSADDINBUG-117)
how to use the integrated documentation?
The visual studio plugin does docs integration as well as everythign else needed to make Qt work perfectly with Qt
I am using the Visual C++ 2010 compiler. How can Qt be compiled in Visual C++?
The current version of Qt (4.6) doesn't support Visual Studio 2010:
http://doc.qt.nokia.com/4.6/supported-platforms.html
However as you can see on that link, Qt 4.7 does plan to support it.
Can you use Visual Studio 2008 instead? I have been using it with the Qt plugin. You might need the full version of VS 2008 though - I don't think you can install the Qt plugin in the Express version.
If the full version of Visual Studio 2008 isn't an option, you might be better off using Eclipse with Qt integration, or QtCreator (available from the Qt website.) If you are planning on compiling your Qt project on other platforms, one of these would probably be a better choice in any case, since the Visual Studio project format doesn't translate to other platforms (to my knowledge.)
if you want, I can send you a detailed description of the installation and compile procedure with Visual Studio 2008