How to open Qt .ui file in Visual Studio 2013 - qt

I am using Qt 5.7.0 and Visual Studio 2013 Community Edition. I have integrated Qt with Visual Stdio, using Add-in-Plugin provided in Qt Download Page....
I am able to create and execute Qt project in Visual Stdio, but I am not able to open .ui Form file.
I would like to know if there is any possibility such that, when I click on my .ui file, I will be directed to Qt Designer.
Note: When I try launching QT Designer from Visual Studio, my Visual Stdio freezes and Designer never gets opened.....
Any help is appreciated..

Related

QT Visual Studio how to include QMediaPlayer and QMediaPlayList

I need QMediaPlayer and QMediaPlayList in a c++ qt project.
Environment is Visual Studio 2022 with qt visual studio tools.
I have added the Qt6Multimedia.lib from the msvc2019_64/lib folder to the project.
How do I find out what the correct include statements are?
Autocomplete does not show me anything about QMultimedia

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.

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

Llink Winmm.lib to Qt creator

Im having problems linking Winmm.lib to Qt creator, when I try to link it the library file dialog box turns red and next button is disabled.
Im using Microsoft SDKs Winmm.lib that comes with Microsoft Visual Studio 2010, qtcreator5 and mingw.
Help please.
When linking against libraries from the Microsoft Windows SDK, you need to be sure to use the Visual C++ 2010 or Visual C++ 2012 compiler and not the MinGW compiler. Visual C++ and MinGW create different and incompatible binaries and can't be linked interchangeably. If there is a library you want to use with MinGW, make sure to build it from source against MinGW. The same goes for Visual C++ 2010 and Visual C++ 2012.

Qt/QuickFIX - doesn't find some header files

I am using both Qt Framework and QuickFIX engine to create a financial application with GUI.
My problem is that when I compile a program that implements QickFIX engine and Qt Framework, it gives me a compilation error: it doesn't find some header files in MinGW (socket.h, inet/in.h, etc)
I am on Windows 7 and I know that to use sockets you must use winsock.h and so on, but the problem is I have Visual C++ express edition and it's not supported by Qt, so I used Qt Creator and since I have an open source of Qt, QuickFIX engine uses the header files of Linux (socket.h, etc) rather than windows. So it gave me an error.
Please can you suggest me a solution?
I use Visual Studio Express 2010 with Qt. You will need to build Qt with it. When you configure make sure to specify Visual Studio 2010 as the make spec.Last time I built it got hung up on a couple of projects. To get around this you need to clear out some temporary files that Nokia packaged in the installer for some reason. Just google the error for details.
Once you have Qt built you ought to be able to qmake -tp vc your project and then load up the generated Visual Studio project file.

Resources