I will confirm that you cannot link msys-gcc with mingw-gcc. To use QT on a windows platform with GCC you should be using mingw exclusively. msys2 is there to run bash, and perl, that's about the extent of things. If you search the msys2 repo page, there are no packages with "qt" in the title.
When you run cmake, use the -G"MSYS Makefiles" option. You won't need gcc c,c++ or fortran from msys, just from mingw. On Sun, Feb 16, 2020 at 2:37 PM Paul Galbraith via Msys2-users < msys2-users@lists.sourceforge.net> wrote: > Hi all, I'm pretty new to C/C++ (well, I last wrote something in C circa > 1992 for a university programming course), so I suspect this is > something obvious that I'm just not sure about. I was wondering if it's > possible to use Qt with the Msys2 DLL for posix compatibility? I notice > the mingw variant of cmake includes the GUI, but the msys variant does > not, leading me to believe I'd be wasting my time if I tried to link the > mingw Qt libs onto a program compiled with msys gcc ... can anyone confirm? > > > > _______________________________________________ > Msys2-users mailing list > Msys2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/msys2-users >
_______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users