I have created a Qt Application project in Visual Studio. It generates one .ui file for the main window. What if I want to add another window?
If you use visual studio 2013 and Qt 5, right click your project in solution explorer and select Add -> Class... to launch Add Class dialog.
You can create Qt5GuiClass for your new window in the dialog.
From the Solution Explorer of you Visual studio, right click on the Form files -> Add new Item -> Qt forms from there select Qt Dialog form (.ui)
Related
How to customize Visual Studio Solution Explorer right click menu option to copy only dll and pdb?
how can I add custom command to customize commands that copy only selected project dll & pdb?
so later it will show in right click on project menu
I am new to unity platform. I am having visual studio 2008 and unity 3D v4.5.2 working side by side. When ever i create a C# script and opens it to edit, it opens in visual Studio but not in monoDev even i have set the preferences to MonoDev built in and synchronized Assets with MonoDev. but still it opens in VS 2008. All i want is to open in MonoDev but not in VS. Ive searched it but not finding any particular solution to the problem.
Unity Preferences -> External Tools -> External Script Editor and instead of selecting the "Monodevelop (Built In)" option select "Browse" and go select the app exe file yourself and to debug in Monodevelop in Unity 4.3, you need to to tick the options "Development Build", and "Script Debugging" in the Build Settings panel
If you double-click a .cs file in Windows Explorer, does it open Visual Studio? If so, try making the default editor for .cs files the Mono IDE.
Hold Shift, then right-click a .vs file, then pick the "open file with" (or similar) item to permanently assign a new editor to .vs files.
i had the same problem and i broke my head but found the simplest solution
please follow
Open Unity
Go to Edit (Second Tab)
Click on Preferences (A new Tab will open )
Click on External Tools (Second Option Available)
Choose from the list of options Available
AND YOU ARE DONE (Make sure your option of the editor is Installed first LOL)
Click on the "Edit" tab:
Then find "Preference" in the available options. You will find such a mini window opening up, as in the picture below:
Then click on the second option, "External tools":
Then choose from the list of options available (if you have Mono Develop installed then it will be already selected for you)
My suggested options are:
Visual Studio
Mono Develop (usually I have to force close the first time , but I am comfortable with Mono Develop because of its light-weight and powerful performance compared to Visual Studio)
Notepad++ (for the pros)
I'm using Qt add-in for Visual studio. It adds some items in project context menu, available from solution explorer. Here is the context menu. Not so small, right? Thanks Qt for additional 8 items, while they are completely duplicated by the main menu and I'm not ever going to use 7 of them anyway.
Is there a way to get rid of them? Uninstalling add-in is not an option.
Found it! In Visual Studio, go to Tools -> Customize -> Commands -> Context menu -> Project and Solution Context Menus, and all the items are there! Modify as you want!
Up to now I have always adding a new non-MFC C++ class in Visual Studio (I use 2010 these days) by right clicking on "Header Files" and adding a header file for the class and then right clicking on "Source Files" and adding a source file for the class. I then fill out the contents manually. It takes under a minute but it would be SO nice if there was a wizard for this.
Is there a wizard to add a new non-MFC C++ class in VS2010?
Right click on the project in Solution Explorer. Click Add->Class, you can find C++ class in the pop-up window.
I am currently creating an application in Visual Studio 2010. After building the project to generate the output of my application, I find that the .exe is built with the default icon.
Is there any way to change or use my own picture as the icon for the .exe file generated by Visual Studio 2010?
To specify an application icon
In Solution Explorer, choose a project node (not the Solution node).
On the menu bar, choose Project, Properties.
When the Project Designer appears, choose the Application tab.
In the Icon list, choose an icon (.ico) file.
To specify an application icon and add it to your project
In Solution Explorer, choose a project node (not the Solution node).
On the menu bar, choose Project, Properties.
When the Project Designer appears, choose the Application tab.
Near the Icon list, choose the button, and then browse
to the location of the icon file that you want.
The icon file is added to your project as a content file.
reference : for details see here
I found it easier to edit the project file directly e.g. YourApp.csproj.
You can do this by modifying ApplicationIcon property element:
<ApplicationIcon>..\Path\To\Application.ico</ApplicationIcon>
Also, if you create an MSI installer for your application e.g. using WiX, you can use the same icon again for display in Add/Remove Programs. See tip 5 here.
Check the project properties. It's configurable there if you are using another .net windows application for example