Qt Designer 6 on Ubuntu 22.04 (jammy)
-
Under Linux Mint 21, based on Ubuntu 22.04 (jammy), I wish to use Qt Designer 6. Is a package available? I have installed several from the Ubuntu repositories that would appear to supply the tool, but the entry for the application revealed in the desktop menu is versioned for Qt 5.
-
-
@andr said in Qt Designer 6 on Ubuntu 22.04 (jammy):
qt6-tools-dev perhaps?
It is one I already have tried.
-
@JoeCFD said in Qt Designer 6 on Ubuntu 22.04 (jammy):
export QT_SELECT=qt6
check: which qmake
the default one is Qt5$ qmake --version QMake version 3.1 Using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu $ env QT_SELECT=qt6 designer designer: could not find a Qt installation of 'qt6'
How do I upgrade?
-
@JoeCFD said in Qt Designer 6 on Ubuntu 22.04 (jammy):
sudo synaptic
search for "designer" and you can see designer-qt6 and its related libs. Check them and click "Apply" button for install. You will get it.Please note the following results of matching packages, with the ones already installed indicated by
i
:$ apt search designer i designer-qt6 - Qt 6 Designer p kdesignerplugin-data - Integration of KF5 widgets in Qt Designer/ p kgendesignerplugin - Integration of KF5 widgets in Qt Designer/ p kgendesignerplugin-bin - Integration of KF5 widgets in Qt Designer/ p libbio-primerdesigner-perl - Perl module to design PCR primers using pr p libqscintilla2-qt5-designer - Qt5 Designer plugin for QScintilla 2 i A libqt5designer5 - Qt 5 designer module p libqt5designer5:i386 - Qt 5 designer module i A libqt5designercomponents5 - Qt 5 Designer components module p libqt5designercomponents5:i386 - Qt 5 Designer components module i libqt6designer6 - Qt 6 Designer library i A libqt6designercomponents6 - Qt 6 Designer Components library v libreoffice-reportdesigner - v qt6-designer-abi
-
@brainchild said in Qt Designer 6 on Ubuntu 22.04 (jammy):
env QT_SELECT=qt6 designer
it is qt-chooser bug, Go to /usr/lib/x86_64-linux-gnu/qtchooser and create qt6.conf with contents:
/usr/lib/qt6/bin
/usr/lib/x86_64-linux-gnu
save it. With QT_SELECT=qt6 it will work. -
@JoeCFD said in Qt Designer 6 on Ubuntu 22.04 (jammy):
it is qt-chooser bug, Go to /usr/lib/x86_64-linux-gnu/qtchooser and create qt6.conf with contents:
/usr/lib/qt6/bin
/usr/lib/x86_64-linux-gnu
save it. With QT_SELECT=qt6 it will work.The Ubuntu package is not supplying the additional file? Is it a known bug, which has been reported?
It is also an issue that the desktop icon is available for Designer only for Qt 5, not Qt 6.
-