Solved Qt MinGW 64 bit
-
Hello,
I am trying to build a 64 bit program on Windows 10. However, when I download Qt, the only option I have for MinGW is 32 bits. My understanding is that the officially Qt only supports MinGW 32 bits. From what I read on forums, it is possible to use MinGW 64 bits. However, the posts I read were from a long time ago. I would like to know what is the best solution and if there is potential problems using MinGW 64 bits since it is not in the official Qt release.
Thank you very much for your help,
Alex
-
-
@SGaist Thank you for the information !
It seems a bit difficult for my level of expertise. Do you think it may be integrated directly in Qt in the future ?Thank you,
Alex
-
@alecs26 Do you really need to build your program for x86_64?
-
There was a talk about it on this thread of the development mailing list.
-
Thanks !!
-
@jsulm That is a good question. I want my program to work on computers in general (Windows for now).
I don't need to use 64 bits, it works well with 32 bits. At first, I thought compiling my program in 32 bits so it would work both on 32 bits and 64 bits computers. However, a friend of mine told me 64 bits computers are mostly everywhere now so I should consider 64 bits directly. Also, he told me that in the future, 32 bits may not be supported by new computers. I want my program to last through time so I thought I would do it right now in 64 bits.
I am far from an expert in this, what do you think ?
Thanks,
Alex
-
@alecs26 Well 32bit will be supported in the next decades for sure.
The problem is: there are no Qt binaries built with MinGW64. If you want to use MinGW64 then you need to build Qt by yourself.
As alternative I can suggest to use Visual Studio. You can get it for free (even for commercial usage in small companies): VS2015 Community edition. Then just install Qt for VS2015 64bit. You can use QtCreator with Microsoft compiler. -
@jsulm Perfect, thanks !!
I will stick with MinGW 32 bits.Thanks all for you help !