I am aware of the static build binary available here. That at least covers the immediate problem of disappearing qt3 trends.
It would seem desirable for IHU to be ported to build with qt4 now, in order to future proof it a bit. It's such a useful program it would be a shame for it fade into incompatibility.
Would it be a difficult task to port it ? I don't have any real knowledge of qt structures but a fair bit of progamming experience.
I saw in one thread here that you say you use qt even for without-x build because it has some structures. Also that you have separted the phone from the audio. I see a number of aims some of which you loosely endorse without have the time to do.
MacOSX (or win32) port
Build --without-x without using qt
qt4 port
It is the latter which interests me the most but I see there could be some interaction.
Separating the non-x code from everything but the UI would allow a very light non-gui build. It would allow at least some non qt ability. It would probably aid portability and testing.
Are the qt libs doing some heavy lifting here or could that part be replaced without too much pain?
So, in essence , two questions:
1/ would qt4 be a major task ?
2/ could --without-x be made non qt ?
Thanks for a great program. It does just what is needed , no more, and in this it seems unique. Nice work.
Hi,
thank you for your interest in IHU. I'm happy you find it useful!
Here are my answers to your questions:
1) I'm preparing a version compatible with Qt4 that I'll release as soon as possible. Unfortunately I'm quite busy and I'm a bit slow, but I think I'll release it in some weeks
2) IHU is able to work without Xserver, but it still needs QT. I used some components of QT library which are very useful and unfortunately the effort of make it QT-indipendent would be too hard at the moment. Actually the QT port on Win32 might let you to compile IHU also on Windows (I'm working to make this possible)
Best regards
Matteo Trotta
There is a program called qt3to4 which may help you.
An output of portinglog.txt
Last edit: Phixy 2013-10-03
I have made a set of patches that moves IHU to Qt4 (with Qt3Support module).
XRevan86, I think you should fork this project either on SourceForge or GitLab.
Thank you for your effort!
XRevan86, thank you for your patches. Great work.
On Ubuntu 14.04 you need an extra autoreconf command to compile.
The details:
Install libqt4-qt3support and other dependencies.
patch -p1 < 0001-fix-compilation.patch
patch -p1 < 0002-qt4-port.patch
patch -p1 < 0003-proper-tray.patch
cd /path-to-ihu/ihu-0.6.0
autoreconf
./configure
make
To translate ihu in your locale:
patch src/main.cpp:
...
QApplication a( argc, argv, enableGui );
+
if (enableGui)
{
...
Create ihu_xx.ts and ihu_xx.qm. Put ihu_xx.qm in the working directory:
Generate ts file: lupdate src -ts ihu_xx.ts
Translate for example with Qt Linguist.
Compile .ts -> .qm: lrelease ihu_xx.ts
You can insert missing tr() functions in the source. For example:
soundLabel->setText( QString( "Recording Level: -96 dB" ) );
soundLabel->setText( QString( tr("Recording Level: -96 dB") ) );
project with patches moved to https://github.com/jose1711/ihu. a pkgbuild now exists for arch linux users: https://aur.archlinux.org/packages/ihu-git/