Results 1 to 5 of 5

Thread: SEQ 6.2.1 - uic error on running configure

  1. #1
    Registered User
    Join Date
    May 2018
    Posts
    7

    SEQ 6.2.1 - uic error on running configure

    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!

  2. #2
    Administrator
    Join Date
    Oct 2019
    Posts
    496

    Re: SEQ 6.2.1 - uic error on running configure

    If you run

    Code:
    dpkg -S /bin/uic
    What do you get?

  3. #3
    Registered User
    Join Date
    May 2018
    Posts
    7

    Re: SEQ 6.2.1 - uic error on running configure

    here's what I get:

    Code:
    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:

    Code:
    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

  4. #4
    Administrator
    Join Date
    Oct 2019
    Posts
    496

    Re: SEQ 6.2.1 - uic error on running configure

    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.

  5. #5
    Registered User
    Join Date
    May 2018
    Posts
    7

    Re: SEQ 6.2.1 - uic error on running configure

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On