[LAD] GuitarSynth

Guido Scholz guido-scholz at gmx.net
Mon Apr 20 19:21:02 UTC 2015


Am Mon, 20. Apr 2015 um 20:09:17 +0200 schrieb Gerald:

Hi Gerald,

> Yes thats true. I built it on Ubuntu 14.04 and on Arch Linux both with qt5.
> which distro are you on?

if you fix line 21 in file synthcontrol.h from

  #include <QtWidgets/QDial>

to

  #include <QDial>

your code will compile with Qt4 as well.

But btw. I got some serious compiler warnings. I recommend to carefully
fix them too.

Guido

PS: Your e-mail quoting style irritates me.



> Gerald
> 
> On 20.04.2015 19:57, Guido Scholz wrote:
> > Am Mon, 20. Apr 2015 um 18:40:26 +0200 schrieb Gianfranco Ceccolini:
> >
> >> When building in KXStudio I get the following error
> > [...]
> >>                  from ../GuitarSynth/mainwindow.cpp:19:
> >> ../GuitarSynth/synthcontrol.h:21:27: fatal error: QtWidgets/QDial: No such file
> >> or directory
> >>  #include <QtWidgets/QDial>
> >>                            ^
> >> compilation terminated.
> >>
> >>
> >> Any hint on where I can find the  QtWidgets/QDial ?
> > $ locate QDial
> >
> >   /usr/include/qt4/QtGui/QDial
> >   ...
> >   /usr/include/qt5/QtWidgets/QDial
> >
> > This looks like you should go for Qt5 instead of Qt4.
> >
> > Guido
> >
> >
> >
> > _______________________________________________
> > Linux-audio-dev mailing list
> > Linux-audio-dev at lists.linuxaudio.org
> > http://lists.linuxaudio.org/listinfo/linux-audio-dev
> 
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev

-- 
http://wie-im-flug.net/
http://www.lug-burghausen.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20150420/f7e0450a/attachment.pgp>


More information about the Linux-audio-dev mailing list