Seva Alekseyev
Seva Alekseyev

Reputation: 61412

Qt on Linux - version conflict?

Trying to move a Qt 4.6.3 project from Windows to Debian Linux (Etch). I've installed Qt by downloading the latest version, then running configure, then make install as root. Yet when I run qmake_qt4 on my project's pri file, here's what I get:

uic: File generated with too old version of Qt Designer

Running uic -v returns 4.2.1. How come? Wasn't make install supposed to put the latest Qt on the system?

Upvotes: 3

Views: 561

Answers (1)

bjoern.bauer
bjoern.bauer

Reputation: 709

By default, Qt installs to /usr/local/Trolltech/Qt-4.6.3 and doesn't add it's bin folder to your PATH variable. Also, it's just named qmake.

Either call /usr/local/Trolltech/Qt-4.6.3/bin/qmake using the complete path or add the /usr/local/Trolltech/Qt-4.6.3/bin/ path to your PATH variable and ensure that it is listed there before any other path that may have a qmake. Best thing to do is to uninstall the the debian qt version if you don't need it elsewhere.

Upvotes: 3

Related Questions