Unsolved Setting Up QT In Visual Studio 2015
-
I'm in need of someone showing me how to setup QT in Visual Studio 2015 and ideally create a single dialog with a button that when pressed shows a messagebox saying Hello World.
I have been trying to set this up in Visual Studio and have had no luck. Id gladly pay someone to walk me through it.
-
@JokerMartini Take a look at http://doc.qt.io/qtvstools/index.html
"I have been trying to set this up in Visual Studio and have had no luck" - you should say what exactly did not work. -
@JokerMartini
@jsulm
Hi guys!- First of all you need "Qt 5.6.2 for Windows 64-bit or(32-bit) (VS 2015 version) to install.
- Run Visual Studio and go Tools->Extensions and Updates->Online and in search box write "Qt5Package" and install it.
- Restart Visual Studio and on the menu panel you can see Qt5 between View and Debug, click on it and go Qt Options, you will see new window, click Add and insert your msvc2015 path which is located in you Qt folder.
Thanks.
-
@L.Gogs said in Setting Up QT In Visual Studio 2015:
First of all you need "Qt 5.6.2 for Windows 64-bit or(32-bit) (VS 2015 version) to install.
If there is no special reason to use an older Qt version you should install the current one, which is 5.9.1.
-
@jsulm
I used to 5.6.2 for VS but you can install 5.9.1 if you like this version :)))
It is not problem, just follow instruction!! -
@L.Gogs What I mean is: if you describe to somebody how to install Qt you should not suggest to install an old version.
-
This post is deleted! -
@jsulm
It is not important at this moment -
@L.Gogs Who says that? @JokerMartini should know whether this is important for him or not. It would cause additional work if he later realises that he needs the current version.
-
@jsulm
I've already tried and I didn't have any problem so I don't think that it would cause additional work. -
-
@JokerMartini
QtPackage
Then restart Visual Studio and you will see Qt5 -
QtPackage is the inofficial extension by Konstantin Stukov. He created it to have something to use in the years when Qt itself was not willing to create an extension by itself. It was good and did the essential things but will probably not be developed any further, as now there are the "Qt Visual Studio Tools" by Qt itself.
-Michael.