Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. RtMIDI doesn’t compile with Qt

RtMIDI doesn’t compile with Qt

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 2.4k 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.
  • R Offline
    R Offline
    redpoint
    wrote on last edited by
    #1

    Hello,

    I have a problem with compiling the RtMIDI Class in QT. I didin't even manage to compile the basic example from their website, all I get is an "undefined reference" error in Qt.

    I tried almost everything, but I seem to forget to include a library in my project...
    Can you help me?

    Thank you!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      The error has nothing to do with Qt. Qt is a library, the error is coming from your compiler or linker.

      You probably need something like:

      @INCLUDEPATH += -I{{path_to_stk}}/include/stk
      LIBS += -L{{path_to_stk}}/lib -lstk
      @

      in your PRO file. Substitute suitable values for {{path_to_stk}} they depend on your platform and install directories.

      1 Reply Last reply
      0

      • Login

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