PDA

View Full Version : Qt5 vs2010 addin



rakefet
22nd February 2014, 12:07
Hi,

I built a simple qthello QT Application on VS2010 64bit and was able to run it successful. However, when I try to open the qthello.ui file I am getting the error message:
"No default Qt version found. Please check your Qt visual Studio Add-in setting".

Here are the steps I took to get so far:
-Downloaded qt5 from git repository.
-Built qt5 using VS2010 64bit command prompt.
-the bin and lib directories are under c:\QT\Qt5\qtbase.
-Downloaded qt-vs-addin-1.2.2-opensource.exe and ran it successfully.
-Opened VS2010 64bit and set Qt5->Qt Version:
Path: c:\qt\qt5\qtbase
Default Qt/Win version: 5
Qt Project Setting: 5


That's it! I think I did not set the version right but I don't know what is the right version to set.

I'll appreciate any input.

Thanks

rakefet
28th February 2014, 21:59
I figured out how to launch the QtDesigner from vs2010 64bits.
When you get the qt5 source from git and build it, it does not build designer.exe. To create Designer, you have to go to qt5/qttools and load qttools.pro into QTCreator and build it. QtCreator builds designer.exe in qt5/qtbase/bin and also builds all the designer's libraries in qt5/qtbase/plugins/designer. After that, the Qt designer can be launched from visual studio.