Can't export Visual Studio project to Qt Creator - qt

I want to export a visual studio project or the entire solution and I installed the Qt Visual Studio add-in but the menu actions are not clickable:
http://img88.imageshack.us/img88/756/capturebba.png
What can I do to export the project or solution?

You are probably trying to convert a project that doesn't actually use Qt and there's a bug preventing you to do that. Here is a workaround for Visual Studio 2008:
Open yourproject.vcproj file and after the line:
RootNamespace="yourproject"
Add a new attribute like this:
Keyword="Qt4VSv1.0"
And the workaround for Visual Studio 2010 is (haven't tried this one myself):
1) Open yourproject.vcxproj with a text editor
2) Locate the tag :
3) Between and add the following line :
Qt4VSv1.0
4) Reload your project in VS2010
5) In solution explorer, righ-click on your project
6) In the menu, select "Convert project to Qt Add-in project"
Revise your Qt Project Settings to include the modules you need and then you are ready to go.
Taken from here:
https://bugreports.qt-project.org/browse/QTVSADDINBUG-27

Related

QT Tools Tab is missing in VS 2019

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.

How do I add Addin to the MS Project?

MS Project 2016 x64
I created an add-in in Visual Studio.
When debugging, it works.
How can I add Addin to the MS Project so that it works without Visual Studio?
image
It shall be published - please use project properties => Publish tab for that - to get setup.exe and .vsto manifest file generated. Then please install it.

Not able to create Qt project with Visual Studio 2015 in Windows 10

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

Xamarin Forms Item Templates Missing in Visual Studio

I had to restore my Windows to a previous restore point and then Xamarin stopped working. I ended up uninstalling Xamarin and Visual Studio 2015 to get Xamarin working again, which it mostly is. I cannot update Xamarin Forms to the latest stable 2.3.3.180 but 2.3.3.175 is working for now.
The most troublesome issue is when I right click my PCL project and select Add->New Item, in the list of Installed templates there is no Cross-Platform folder and nowhere to select "Forms Xaml Page" item. How can I get these templates installed? Have done reinstall and repair on both VS and Xamarin and I can't get these templates to show up.
Thanks,
Tony
See my post here:
https://stackoverflow.com/a/42341624/2274377
C:\Program Files (x86)\Microsoft Visual Studio14.0\Common7\IDE\Extensions\
Find the correct subfolder. This can be tricky. I had a Xamarin folder, but that was not the right one. In my case it was folder
wa13kl1p.m3s. However, open your folders and check it there is some
Xamarin.Forms.Templates... files in it.
Inside that folder navigate to the T/P/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\Documents\Visual Studio
2015\Templates\ProjectTemplates\Visual C#
Same thing for the ItemTemplates:
But this time navigate to T/I/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\Documents\Visual Studio2015\Templates\ItemTemplates\Visual C#

Convert Visual Studio 7.1 project to Visual Studio 9 project?

I have an Asp.Net project in Visual Studio 7.1 , Now when I open it in Visual Studio 2008 , I can't access to project files :
(source: picfront.org)
How can I open the project with VS2008 or VS2010 ?
Open the sln file with a simple text editor (make backup)
and search for your project that did not find, and correct the directory path.
You have probably a line like that... you need to fix the dir, saved it and open it again.
Project("{XXXX-XXXXX-XXXX}") = "PECeShopSame",
"Dir1\PECeShopSame\PECeShopSame.csproj", "{XXXX-XXXXX-XXXX}"
I see this is old post but I learned that you can also accomplish converting the .csproj file by browsing to the .csproj file and double-clicking on it. Visual Studio will open and offer to convert it for you - follow the wizard. As a final step in the wizard, it will prompt you to select the project in solution explorer and convert to web application.
I had situation where the files didn't appear in solution explorer after converting .csproj file therefore I couldn't select "convert to web application". I closed the (empty) solution then opened as web site (instead of project/solution) and all was well!

Resources