You are not logged in.
Hi,
I am trying to update my Qt5 projects to Qt6.
I am used to develop in Qt Creator and use Qt Assistant to read the offline fricking manual.
Here are my installed packages :
local/qt5-base 5.15.2-3 (qt qt5)
local/qt5-declarative 5.15.2-1 (qt qt5)
local/qt5-doc 5.15.2-1 (qt qt5)
local/qt5-examples 5.15.2-1 (qt qt5)
local/qt5-graphicaleffects 5.15.2-1 (qt qt5)
local/qt5-location 5.15.2-2 (qt qt5)
local/qt5-multimedia 5.15.2-1 (qt qt5)
local/qt5-quick3d 5.15.2-1 (qt qt5)
local/qt5-quickcontrols 5.15.2-1 (qt qt5)
local/qt5-quickcontrols2 5.15.2-1 (qt qt5)
local/qt5-script 5.15.2-1 (qt qt5)
local/qt5-sensors 5.15.2-1 (qt qt5)
local/qt5-serialport 5.15.2-1 (qt qt5)
local/qt5-speech 5.15.2-1 (qt qt5)
local/qt5-svg 5.15.2-1 (qt qt5)
local/qt5-tools 5.15.2-2 (qt qt5)
local/qt5-wayland 5.15.2-1 (qt qt5)
local/qt5-webchannel 5.15.2-1 (qt qt5)
local/qt5-webengine 5.15.2-3 (qt qt5)
local/qt5-webkit 5.212.0alpha4-9
local/qt5-x11extras 5.15.2-1 (qt qt5)
local/qt6-base 6.0.0-2 (qt6)
local/qt6-declarative 6.0.0-1 (qt6)
local/qt6-doc 6.0.0-1 (qt6)
local/qt6-examples 6.0.0-1 (qt6)
local/qt6-tools 6.0.0-2 (qt6)
local/qtcreator 4.14.0-4
local/qtkeychain-qt5 0.12.0-1
qt6-doc should bring the 6.0 documentation in the system.
Here is the thing : when I open Qt Assistant (assistant command), I only have the Qt 5.15.2 documentation registered, as well as a bunch of KDE stuff.
Opening assistant-qt6 doesn't help, same result. Manually adding the Qt 6 version in Qt Creator didn't help either (again, why is QT5 automatically detected and not QT6 ?)
Here are the Qt6 configuration from QT Creator :
Name:
Qt 6.0.0 (qt6)
ABI: x86-linux-generic-elf-64bit
Source: /usr
mkspec: linux-g++
qmake: /usr/lib/qt6/bin/qmake
Version: 6.0.0
QMAKE_SPEC linux-g++
QMAKE_VERSION 3.1
QMAKE_XSPEC linux-g++
QT_HOST_BINS /usr/lib/qt6/bin
QT_HOST_DATA /usr/lib/qt6
QT_HOST_LIBS /usr/lib
QT_HOST_PREFIX /usr
QT_INSTALL_ARCHDATA /usr/lib/qt6
QT_INSTALL_BINS /usr/lib/qt6/bin
QT_INSTALL_CONFIGURATION /usr/etc/xdg
QT_INSTALL_DATA /usr/share/qt6
QT_INSTALL_DEMOS /usr/share/doc/qt6/examples
QT_INSTALL_DOCS /usr/share/doc/qt6
QT_INSTALL_EXAMPLES /usr/share/doc/qt6/examples
QT_INSTALL_HEADERS /usr/include/qt6
QT_INSTALL_LIBEXECS /usr/lib/qt6/libexec
QT_INSTALL_LIBS /usr/lib
QT_INSTALL_PLUGINS /usr/lib/qt6/plugins
QT_INSTALL_PREFIX /usr
QT_INSTALL_QML /usr/lib/qt6/qml
QT_INSTALL_TESTS /usr/tests
QT_INSTALL_TRANSLATIONS /usr/share/qt6/translations
QT_SYSROOT
QT_VERSION 6.0.0
I guess I could add all .qch files manually in either the help tab or directly in Qt Assistant, but really I don't understand why it is not picked up automatically like the previous version.
I am wondering if I should add /usr/lib/qt6/bin to PATH, but then I would have two qmake executables in PATH, and I am not willing to take that risk if a third-party program uses qmake ...
Does anyone have a hint regarding this issue ?
Thanks for reading !
EDIT:
I found in QtCreator -> Help -> System Information the following content :
{noformat}
Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0) on "xcb"
OS: Arch Linux [linux version 5.10.9.a-1-hardened-with-keys]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
Environment:
QT_AUTO_SCREEN_SCALE_FACTOR="0"
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: /usr
DocumentationPath: /usr/share/doc/qt
HeadersPath: /usr/include/qt
LibrariesPath: /usr/lib
LibraryExecutablesPath: /usr/lib/qt/libexec
BinariesPath: /usr/bin
PluginsPath: /usr/lib/qt/plugins
ImportsPath: /usr/lib/qt/imports
Qml2ImportsPath: /usr/lib/qt/qml
ArchDataPath: /usr/lib/qt
DataPath: /usr/share/qt
TranslationsPath: /usr/share/qt/translations
ExamplesPath: /usr/share/doc/qt/examples
TestsPath: /usr/tests
SettingsPath: /etc/xdg
...
I think that's the place where I would like to add qt6 files paths. However I don't find anything regarding this ... Still searching.
Last edited by B3l3tte (2021-01-24 01:22:00)
Offline
Fixed in qt6-doc 6.0.0-2
Online
Amazing, thanks a lot !
Offline