PDA

View Full Version : SEQ 6.2.1 - uic error on running configure



sycvt
01-29-2022, 01:09 PM
Hi Everyone,

Has anyone ran into the error below when running configure? I'm using Ubuntu 20.04 and was following the install.newbie walkthroughs for SEQ 6.2.1.



checking for Qt... yes
>> Found version.: 4.8.7
>>> Headers......: /usr/include/qt4
>>>> Libraries...: /usr/lib/x86_64-linux-gnu/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking for Qt UIC... configure: error: No working Qt user interface compiler (uic) found!


Configure found and tried to use '/bin/uic', but failed...


If configure shouldn't have tried '/bin/uic', please set the environment
variable UIC to point to the location of your prefered uic binary and run
configure over.


As a last resort, it may be possible to eliminate this error by typing:


export UIC=`updatedb && locate uic | grep bin/uic` (with the `s)

I tried pursing the "last resort" option but ran into other issues trying that.

Thanks in advance if anyone has any ideas/suggestions!

cn187
01-29-2022, 07:06 PM
If you run



dpkg -S /bin/uic


What do you get?

sycvt
01-29-2022, 11:46 PM
here's what I get:


ubuntu@Ubuntu-base:/$ dpkg -S /bin/uic
dpkg-query: no path found matching pattern /bin/uic

not sure if this helps, but also did a list command in the /bin directory below:



ubuntu@Ubuntu-base:/$ ls -l /bin/*uic*
lrwxrwxrwx 1 root root 9 Mar 22 2020 /bin/uic -> qtchooser
lrwxrwxrwx 1 root root 9 Mar 22 2020 /bin/uic3 -> qtchooser
lrwxrwxrwx 1 root root 35 Jun 10 2020 /bin/uic-qt4 -> ../lib/x86_64-linux-gnu/qt4/bin/uic

cn187
01-30-2022, 06:48 AM
OK, that makes sense I think.

It looks like you have both qt3 and qt4 installed? It's finding qt4 during configure, but it finds the qt3 version of uic before it finds the qt4 version due to path search order and such.

At some point I should look into if it's possible to have the configure script check the moc/uic version and keep searching if the first one it finds doesn't match the detected qt version.

But in the mean time, the fix here is to either use qtchooser to set qt4 as the default, remove qt3, or export UIC=/bin/uic-qt4 before running configure.

Hope that helps.

sycvt
01-30-2022, 02:28 PM
The export UIC recommendation worked! I had set the qtchooser default to point to qt4 but for some reason that didn't seem to help. Also, when I ran qtchooser -list-versions I only saw Qt4 & QT5 come up so not sure why Qt3 would be installed.

Anyway, thanks to you I was able to get the SEQ window launched so hopefully I just a little way to go with the remaining configuration. Thanks again for your time!