Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Compiling non-QT library with QT/MinGW. Where's the Qt shell/terminal for using the MinGW toolchain?
Forum Updated to NodeBB v4.3 + New Features

Compiling non-QT library with QT/MinGW. Where's the Qt shell/terminal for using the MinGW toolchain?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 245 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CoryG
    wrote on last edited by
    #1

    I want to compile an open source project, portmidi, with the toolchain provided with Qt on Windows (MinGW). The project does have a cmake build script. Does Qt have a shell/terminal with access to the toolchain like msys/mingw? I see the mingw directory in C:\Qt\Tools\mingw1120_64 but no shell. Thanks!

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You have a link to cmd which sets up the environment in your start menu.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • cristian-adamC Offline
        cristian-adamC Offline
        cristian-adam
        wrote on last edited by
        #3

        Just open a terminal and then:

        $ set PATH=C:\Qt\Tools\mingw1120_64\bin;%PATH%
        $ gcc --version
        

        You are all set.

        But if you want to build it, I would suggest using vcpkg since it has a port https://vcpkg.roundtrip.dev/ports/portmidi

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved