On Sat, Jul 1, 2017 at 2:26 PM, Maarten Verhage <m_r_verh...@hotmail.com> 
wrote:
> Dear people of Msys2,
>
> I hope someone can help me out. My objective is to build Qt on a Windows 7
> 64 bit computer. I already installed TDM-GCC-64 which includes the 
> Mingw-w64
> windows API.
>
> I’m already able to compile and link some of my C++ code with GCC and
> Mingw-w64, with makefiles.
>
> I’m familiar with compiling and linking my programs with MSVC on the 
> command
> prompt. But I want to turn away from Microsoft for software development in
> C/C++.
>
> I read somewhere Msys2 is the easiest tool to use to reach the goal of
> building Qt. Msys2-x86_64 is also installed and I can get to that command
> prompt.
>
> Also I would like to have my development computer OFFLINE from the 
> internet.
> The pacman command seems to want to download stuff so that is not going to
> work.
>
> So, I am basically stuck at how do I provide Qt to pacman. On the
> development computer I do have for example the
> qt-everywhere-opensource-src-5.3.2.zip file. Of course I can download
> something else from the Qt Company. But at least I know a build of
> qt-everywhere-opensource-src-5.3.2.zip on gcc with mingw-w64 is what 
> solves
> my goal.
>
> Please be specific in what you recommend me to do. Then I can use your
> advice and I would be very grateful about it.
>
> Best regards,
>
> Maarten Verhage

Dear Norbert and David,

I would like to thank you for your suggestions. It has been awhile since I 
build Qt. Earlier I did build it with MSVC. But now I realised the Qt 
library also provided make specifications for GCC. I have to say in my eyes 
this is the most straightforward way of building Qt 5.3.2.

All I did was:

configure –opensource –opengl desktop –debug-and-release –static –platform 
win32-g++ -skip qtdeclarative -skip qtscript

in a normal Windows command prompt on the Qt folder. Followed by:

mingw32-make

I am happy this resulted in a succesful build.

Best regards,
Maarten Verhage


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to