#36426: lmms: ZynAddSubFx.cpp:430: error: ‘QDir’ was not declared in this scope -----------------------+-------------------------------- Reporter: deesto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: lmms | -----------------------+-------------------------------- Comment (by hihid27@…): I had a similar problem like yours, what I had to do was modify a the {{{ #include <Qt/QtXml> }}} in a file from the plugin. What you have to do is do the usual {{{sudo port install lmms}}} and let it try to install lmms, and probably fail (if not, yay!). Then, find your way to macport's build directory for this (it should be something such as "/opt/local/var/macports/build/" (to open this in finder type {{{open /opt/local/var/macports/build}}} In that directory, find a file that contains lmms somewhere in it's name. Then in that directory, find your way to {{{plugins/zynaddsubfx}}}. Find the file named "ZynAddSubFx.cpp", and copy it (or hit command+c). Open terminal, enter: {{{sudo pico}}} press the spacebar, and then paste (or hit command+v) and hit enter (it should look something like {{{sudo pico /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_lmms/lmms/work/lmms-0.4.13/plugins/zynaddsubfx/ZynAddSubFx.cpp}}}). Press the down arrow until you see: {{{ #include <Qt/QtXml> }}} and change that to: {{{ #include <QtXml> }}} Now run {{{sudo port install lmms}}} again and it should work! -- Ticket URL: <https://trac.macports.org/ticket/36426#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS