[Top][All Lists]
[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: |
Gregor Dschung |
Subject: |
Re: [Discuss-gnuradio] building gnuradio's gr-qtgui with qt 4.6 |
Date: |
Tue, 23 Mar 2010 23:44:12 +0100 |
>
> 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