T
T
tugo2014-04-21 17:33:12
Android
tugo, 2014-04-21 17:33:12

MinGW or MSVC: which compiler to choose for Qt applications on Windows?

I mainly write desktop applications for Windows using Qt (MSVC2012, Windows7 compiler). Sometimes they need to be built for Android.
Is it worth switching to MinGW for desktop applications (to write for Android and Windows under one compiler)?
When migrating to MinGW, which debugger should I use? Will you have to switch to GDB?
I use boost, I try to use the features of C ++ 11.
What problems await me?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EXL, 2014-04-21
@tugo

I'm in favor of MinGW, if only because it uses its own Runtime, running on ALL MS Windows OS since Win95. In the case of Qt, starting from 2000/XP. Without any installations of Visual C++ Redistributable/Visual C++ Runtime and additional libraries. Just add the following lines to the project file:QMAKE_LFLAGS +=-static-libgcc -static-libstdc++

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question