How to use MinGW-64 with Qt Creator

前端 未结 3 737
故里飘歌
故里飘歌 2020-12-07 21:23

I am aware that there are many post about this, but I honestly didn\'t understood any of it.

So, how do I install a kit for my Qt Creator (open source 5.7)?

3条回答
  •  太阳男子
    2020-12-07 21:52

    You should decide if you are going to use the MSYS2 ecosystem or not. If you want to use MSYS2, you should uninstall the Qt software that you downloaded separately to avoid confusion. For the rest of this answer, I'll assume you are using MSYS2.

    You can install these MSYS2 packages using pacman:

    • mingw-w64-i686-qt
    • mingw-w64-i686-qt-creator
    • mingw-w64-x86_64-qt
    • mingw-w64-x86_64-qt-creator

    Then open up a MinGW-w64 32-bit or 64-bit shell using the appropriate shortcut in your Start Menu, and run "qtcreator" at the command line.

    You can also use other build systems to build your software. I have used CMake successfully for building Qt applications in MSYS2, instead of Qt Creator.

提交回复
热议问题