ubuntu 22.04 qt6
-
In all my years of Qt I've never had to use qtchooser so strange behaviour is expected
lubuntu 22.04(Multiple install tries) install qt6-base-dev qt6-l10n-tools
qtchooser shows garbage
jam@mars:~$ qtchooser -l
4
5
default
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5Run by hand
cd asbuilt && qmake6 asbuilt.pro
cd asbuilt && /usr/lib/qt6/bin/lupdate asbuilt.pro
sh: 1: /lib/qt6/libexec/lprodump: not foundHow to install qt6 on lubuntu? The simple google answers do not work
if I strip out the i18 stuff all works
James -
The pro file might be of interest
TARGET = asbuilt
QT += widgetsCONFIG += release
RESOURCES = asbuilt.qrcFORMS = asbuilt.ui
SOURCES = main.cpp
asbuilt.cpp
HEADERS = asbuilt.h
RESOURCES = asbuilt.qrcTRANSLATIONS = asbuilt_ru_RU.ts asbuilt_zh_CN.ts
CODECFORTR = UTF-8unix: {
QT += dbusDBUS_ADAPTORS += org.rennisons.dvr.xml
DBUS_INTERFACES += org.rennisons.dvr.xml
}UI_DIR = build
MOC_DIR = build
OBJECTS_DIR = buildPRE_TARGETDEPS += version.h
QMAKE_EXTRA_TARGETS += vertargetvertarget.target = version.h
vertarget.commands = ./version.sh
vertarget.depends = FORCE -
Setting ENC did change lots but ...
jam@mars:~$ export QT_SELECT=qt6
jam@mars:~$ which qmake
/usr/bin/qmake
jam@mars:~$ qmake --version
qmake: could not find a Qt installation of 'qt6'
jam@mars:~$ qmake6 --version
QMake version 3.1
Using Qt version 6.2.4 in /usr/lib/x86_64-linux-gnu
jam@mars:~$ lupdate
Command 'lupdate' not found, but can be installed with:
apt install qtchooser
Please ask your administrator.
jam@mars:~$ /usr/lib/qt6/bin/lupdate
Usage:
lupdate [options] [project-file]...
lupdate [options] [source-file|path|@lst-file]... -ts ts-files|@lst-fileMy question remains: has anybody used lupdate on ubuntu 22.04
I unistalled all then used Qt's install and was rewarded with 'missing modules' stuff like core and widgets -
-
Setting ENC did change lots but ...
jam@mars:~$ export QT_SELECT=qt6
jam@mars:~$ which qmake
/usr/bin/qmake
jam@mars:~$ qmake --version
qmake: could not find a Qt installation of 'qt6'
jam@mars:~$ qmake6 --version
QMake version 3.1
Using Qt version 6.2.4 in /usr/lib/x86_64-linux-gnu
jam@mars:~$ lupdate
Command 'lupdate' not found, but can be installed with:
apt install qtchooser
Please ask your administrator.
jam@mars:~$ /usr/lib/qt6/bin/lupdate
Usage:
lupdate [options] [project-file]...
lupdate [options] [source-file|path|@lst-file]... -ts ts-files|@lst-fileMy question remains: has anybody used lupdate on ubuntu 22.04
I unistalled all then used Qt's install and was rewarded with 'missing modules' stuff like core and widgets -
I experience exactly the same in 2023 ...
Pls Qt make things more robust and easy to use ...@ademmler said in ubuntu 22.04 qt6:
Pls Qt make things more robust and easy to use ..
Depending on whom you mean by 'Qt': This seems to be a debian packaging problem, not sure how the Qt project can help.
-
I experience exactly the same in 2023 ...
Pls Qt make things more robust and easy to use ... -
@ademmler qtchooser seems to be a deprecated tool, since qmake itself can find Qt version with QT_SELECT=5 or 6 environmental variable