About Windows 64-bit for (VS 2012)
-
Hi all
I've been using Qt5.1 + MiniGW on windowsXP 32bit.
I changed my PC whose OS is Windows7 64bit and tried to install Qt, but I realized Qt5.2 + MiniGW64bit is not provided.So I downloaded & set up Visual Studio Exress 2012 & Qt5.2.0 for Windows 64-bit (VS 2012) for the first time but it didn't work properly.
Here's my situation
-I could compile but couldn't debug
-Debugger status is "None"
-Auto kit recognition answers "caution" markIs there anybody who knows how to make it work?
Thanks! -
You can use the very same constellation on windows 7 64 bit as you have used on windows xp 32 bit. The other way around is not possible in general.
Even when you are working on a 64 bit windows there is not need of a 64 bit compiler for MinGW or msvc. If you have special conditions, very larger memory requirements and some other special stuff, you might have to use also a 64 bit compiler. However, in 99 % of the cases it is not required.
If you have been happy with Qt5.1 and MinGW, you can still continue to use it. Respectively, you can install Qt5.2 with MinGW. AFAIK the pre-build is 32 bit only, but the 64 bit MinGW compiler shall be part of the package.
However, if you want to build 64 bit applications with MinGW you have to compile a 64 bit Qt lib version by yourself.I have used MinGW 64 bit compiler with Qt version 4.8. I had to compile Qt libs of course. At the moment I am working Qt 5.1 and MinGW 32 bit on windows 7 64 bit. Using 64 bit with MinGW had some disadvantages like larger exe (especially debug versions) and longer loading times for large data sets (might be an issue of memory model). At the moment I see for sure no need to change to 64 bit again.
-
Hi Koahnig,
Thank you for your swift answer.
Yes, I was happy with Qt5.1 + MiniGW32bit actually.
Does Qt5.2.0 for Windows 32-bit(MinGW4.8) work on Windows7 64bit? -
[quote author="taku-s" date="1388489399"]Hi Koahnig,
Thank you for your swift answer.
Yes, I was happy with Qt5.1 + MiniGW32bit actually.
Does Qt5.2.0 for Windows 32-bit(MinGW4.8) work on Windows7 64bit?
[/quote]I do not see a reason, why it should not work on windows 7 64 bit.
As stated above I am using Qt 5.1 with MinGW on windows 7 64 bit without problems. So far I did not upgrade to Qt 5.2, because I would have to recompile my all stuff again.
-
maybe to be more specific I am using Qt5.1 32 bit MinGW pre-build.
-
I'm trying to use Qt 5.2.0 32bit (MinGW) pre-build now.
I might ask your advice after that. -
Hi Koahnig,
I finally managed to compile and debug Qt 5.2.0 32bit(MinGW) prebuild on Windows7 64bit. Thank you so much for all your help! -
you are very welcome
Please mark your first post above as in the title line with [solved]. This helps others to see that there might be solution for their problem.
-
I have windows 8 64 bits with MinGW 32bit and MinGW 64 bit and I have install MSVC 2013 and I still not available to compile in Qt 5.2
http://postimg.org/image/ucikov3oj/
http://postimg.org/image/dskw2meeb/
http://postimg.org/image/89mxz56qr/
http://postimg.org/image/c26gevm8z/ -
[quote author="g2005loOol" date="1388674170"]I have windows 8 64 bits with MinGW 32bit and MinGW 64 bit and I have install MSVC 2013 and I still not available to compile in Qt 5.2
http://postimg.org/image/ucikov3oj/
http://postimg.org/image/dskw2meeb/
http://postimg.org/image/89mxz56qr/
http://postimg.org/image/c26gevm8z/[/quote]You seem to mix msvc2012 and msvc2013.
You can download only msvc 2012 pre-builds. Therefore, you need to have also msvc2012 as compiler installed.Just to make sure!
msvc version do not contain the msvc compilers. Those are only the Qt creator and the Qt libs pre-build for msvc. Because of license versions there is no way that qt libs and respective compiler is delivered.
Different version cannot be mixed since the binaries generated with a msvc compiler can be used only with that compiler.Checking your supplied pictures, I doubt that you have installed MinGW too.
Since you have installed msvc 2012 you should install msvc 2012 (express version) from microsoft webpage.
If you want to use MinGW instead, you need to install using the offline version from download page or check the MinGW versions in the online installer.
-
Thks dude.!!! Now I can Compiles programs
-
i DON'T THINK QT was designed to work properly under Windows or with VS2012, it is only for *nix OS, if you want to use Qt in Windows use MINGW, but don't expect the goodness that VC++ provides. MinGW is a good try to make a *nix compiler to work in MS platform. I would be like trying to get VC to work on *nix platform. It can be done, but you will never have satisfactory results. Why don't you try .Net as a your development tool.
-
[quote author="ArbolOne" date="1391923189"]i DON'T THINK QT was designed to work properly under Windows or with VS2012, it is only for *nix OS, if you want to use Qt in Windows use MINGW, but don't expect the goodness that VC++ provides.[/quote]What difficulties did you have? What "goodnesses" are you referring to?
Lots of other developers -- myself included -- are successfully producing Qt software using various versions of the Visual Studio compiler. In fact, the majority of commercial companies that sell Qt software for Windows use Visual Studio.
[quote author="ArbolOne" date="1391923189"]I would be like trying to get VC to work on *nix platform. It can be done, but you will never have satisfactory results.[/quote]It can be done? Really? How?