What is the intended way of getting Qt 5.0.0 to work inside VS2012?
-
I noticed Visual Studio Add-in 1.2.0 now supports VS2012, but there is no libraries compiled for it yet. Do I have to compile them myself, or is there another way?
I am quite new to Qt and compiling the libraries myself seems a bit too advanced for me, but if that's the only way, I would be grateful if someone pointed me in the right direction and where to start doing my research.
I actually tried compiling the libraries myself, but I must have done something wrong, because VS2012 ran for an hour or so and then just stopped.
-
[quote author="Adelost" date="1356945785"]I noticed Visual Studio Add-in 1.2.0 now supports VS2012, but there is no libraries compiled for it yet. Do I have to compile them myself, or is there another way?[/quote]There are no official MSVC2012 builds yet. You will either have to compile Qt on your own or you'll find someone who has already done so and is willingly to share that build.
[quote author="Adelost" date="1356945785"]I am quite new to Qt and compiling the libraries myself seems a bit too advanced for me, but if that's the only way, I would be grateful if someone pointed me in the right direction and where to start doing my research.[/quote]It actually isn't advanced. "Download the source":http://releases.qt-project.org/qt5/5.0.0/single/qt-everywhere-opensource-src-5.0.0.zip, open a command promt, <code>configure</code> and <code>nmake</code>.
If you need futher information feel free to dig through these forums, the Wiki and the documentation.
[quote author="Adelost" date="1356945785"]I actually tried compiling the libraries myself, but I must have done something wrong, because VS2012 ran for an hour or so and then just stopped.[/quote]Not necessarily.
-
Hi guys, I too am new to Qt (and programming in general) and Im currently in the process of trying to get Qt5 to work in VS2012.
I've successfully ran configure and and nmake and nmake is now in the process of compiling Qt5. I shall report back with results.
-
That's good you successfully ran configure. But did the results impress you or did they disappoint you? I hope they impressed you.
-
Hi guys!
I am one of the few who successfully built Qt 5.0.0 with VS2012 (in Windows 7).
It seems like I am still having some "problem":http://qt-project.org/forums/viewthread/23658/ when my app is run out of Qt Creator.
But I guess it is working since app runs inside Qt Creator, maybe just missing some dlls only in my package.
I tried to build it in "static" mode but this time I failed. I guess we can build it only in share/DLL by the time.
-
Good for you dude! :)
-
!https://lh6.googleusercontent.com/-GhQ1nC1tVfQ/UPDj5wWoOsI/AAAAAAAAAIM/pXFPrf6XdVk/s808/nmake_error.png(nmake_error)!
Mine failed with the above errors...bq. That’s good you successfully ran configure. But did the results impress you or did they disappoint you? I hope they impressed you.
My configure report looked fine to me. Although i could have missed something. Im not sure what would have impressed me? :S
-
Hi people,
A follow on from my last post. The error was just to some character and encoding issues and it also happened in another .cpp file. All I had to do was find the line of code with the problem and changed the string literals to something else.
The make eventually finished. For those who are interested here's the configure i used:
@// done inside VS2012 x86 Native Tools Command Prompt
configure -developer-build -opensource -confirm-license -mp
nmake@I also tried to add -opengl desktop but the relevant source code had some compilation error that I did not try to fix.
I was able to use Qt Creator to create a basic mainwindow and tested some example codes using the new build with the MSVC2012 compiler. Everything seems to be fine until after i installed the Visual studio add-in and tried to launch qt desginer from within VS2012. It gave me some D3D compiler related DLL missing error. and when i provided those DLL, it still would not start giving a different error with no information on the cause of the error.