discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] building gnuradio's gr-qtgui with qt 4.6


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] building gnuradio's gr-qtgui with qt 4.6
Date: Tue, 23 Mar 2010 20:46:09 -0400

On Tue, Mar 23, 2010 at 6:44 PM, Gregor Dschung <address@hidden> wrote:
>>
>>  make clean
>>  ./bootstrap
>>  ./configure <your args here>
>>  make && make check
>>  sudo make install
>>
>> Eric
>>
>
> At first that wasn't successful. Then I've taken a deeper look into
> the make process:
> gr-qtgui/src/lib/Makefile.am
> [...]
> if BUILD_QT
> %_moc.cc : %.h
>        $(QT_MOC_EXEC) -DQT_SHARED -DQT_NO_DEBUG -DQT_OPENGL_LIB
> -DQT_GUI_LIB -DQT_CORE_LIB $< -o $@
>
> %_ui.h : %.ui
>        $(QT_UIC_EXEC) $< -o $@
> else
> %_moc.cc : %.h
>        touch $@
>
> %_ui.h : %.ui
>        touch $@
> endif
> [...]
>
> So BUILD_QT needs to be true, which is set in config/grc_gr_qtgui.m4
> if "[PyQt4.QtCore.PYQT_VERSION >= 260000]".
> -> I needed to install python-qt4-devel. After that, everything compiles fine.
> -------
> I suggest to have python-qt4-devel as an obligational dependency for
> gr-qtgui, so that---if that package is missing---the ./configure step
> won't mark gr-qtgui as build-able. Also, if the moc-files hadn't be
> included in the tar-ball, they would have been needed to build.
>
> Regards,
> Gregor


Yes, you're right, this should be an explicit requirement. I thought
it was, but it slipped through the cracks. I'll put it on my todo
list.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]