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 > > [email protected] > > http://lists.linuxaudio.org/listinfo/linux-audio-dev > > _______________________________________________ > Linux-audio-dev mailing list > [email protected] > http://lists.linuxaudio.org/listinfo/linux-audio-dev -- http://wie-im-flug.net/ http://www.lug-burghausen.org/
signature.asc
Description: Digital signature
_______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/listinfo/linux-audio-dev
