Qt 6.5 seems to be incomplete on Ubuntu 22.04 image

Ale Martinez's Avatar

Ale Martinez

09 May, 2025 02:54 PM

Hi, I am trying to swith https://github.com/GoldenCheetah/GoldenCheetah ci builds from Qt 5.15 to Qt 6, for macOS it is working as expected using Qt 6.5.3 on macOS 12.7, but I am having problems when using Ubuntu 22.04 since preinstalled Qt seems to be incomplete:

QMake version 3.1
Using Qt version 6.5.3 in /home/appveyor/Qt/6.5.3/gcc_64/lib
...
Project ERROR: Unknown module(s) in QT: serialport multimedia multimediawidgets webenginecore webenginewidgets webchannel positioning webenginequick bluetooth

Any idea about how to fix this?

Ale.

  1. 1 Posted by Ale Martinez on 11 May, 2025 11:53 PM

    Ale Martinez's Avatar

    The same happens when using Qt 6.7.2:

    QMake version 3.1
    Using Qt version 6.7.2 in /home/appveyor/Qt/6.7.2/gcc_64/lib
    ...
    qmake build.pro -r QMAKE_CXXFLAGS_WARN_ON+="-Wno-unused-private-field -Wno-c++11-narrowing -Wno-deprecated-declarations -Wno-deprecated-register -Wno-nullability-completeness -Wno-sign-compare -Wno-inconsistent-missing-override" QMAKE_CFLAGS_WARN_ON+="-Wno-deprecated-declarations -Wno-sign-compare"
    Info: creating stash file /home/appveyor/projects/goldencheetah-knhd8/.qmake.stash
    Reading /home/appveyor/projects/goldencheetah-knhd8/qwt/qwt.pro
     Reading /home/appveyor/projects/goldencheetah-knhd8/qwt/src/src.pro
    Reading /home/appveyor/projects/goldencheetah-knhd8/src/src.pro
    Project ERROR: Unknown module(s) in QT: serialport multimedia multimediawidgets webenginecore webenginewidgets webchannel positioning webenginequick core5compat bluetooth charts
    
  2. 2 Posted by Ale Martinez on 14 Aug, 2025 10:15 PM

    Ale Martinez's Avatar

    Hi, I tested again after last update https://www.appveyor.com/updates/2025/08/12/ and the problem is still there and Qt 6.8.3 / Qt 5.9.1 are missing, the symbolic links for 6.8 and 6.9 seems to be Ok but the real directories seems to be missing:

    ls -l $HOME/Qt
    lrwxrwxrwx 1 appveyor appveyor   24 Aug  8 05:55 5.15 -> /home/appveyor/Qt/5.15.2
    drwxr-xr-x 3 appveyor appveyor 4096 Nov 13  2020 5.15.2
    lrwxrwxrwx 1 appveyor appveyor   23 Aug  8 05:55 6.5 -> /home/appveyor/Qt/6.5.3
    drwxr-xr-x 3 appveyor appveyor 4096 Sep 26  2023 6.5.3
    lrwxrwxrwx 1 appveyor appveyor   23 Aug  8 05:55 6.8 -> /home/appveyor/Qt/6.8.3
    lrwxrwxrwx 1 appveyor appveyor   23 Aug  8 05:55 6.9 -> /home/appveyor/Qt/6.9.1
    drwxr-xr-x 2 appveyor appveyor 4096 Nov 18  2014 Licenses
    lrwxrwxrwx 1 appveyor appveyor   24 Aug  8 05:55 latest -> /home/appveyor/Qt/5.15.2
    

    Cheers, Ale.

  3. Support Staff 3 Posted by Owen McDonnell on 15 Aug, 2025 01:15 PM

    Owen McDonnell's Avatar

    Looking into that. In the meantime can you try Previous Ubuntu2204 and see if it is the same result.

  4. 4 Posted by Alejandro Marti... on 15 Aug, 2025 02:06 PM

    Alejandro Martinez's Avatar

    Hi Owen, using Previous Ubuntut2204 with Qt6.5.3 the problem is the same as
    before: Project ERROR: Unknown module(s) in QT: serialport multimedia
    multimediawidgets webenginecore webenginewidgets webchannel positioning
    webenginequick bluetooth, and ls -l $HOME/Qt:

    lrwxrwxrwx 1 appveyor appveyor 24 Feb 20 22:37 5.15 ->
    /home/appveyor/Qt/5.15.2
    drwxr-xr-x 3 appveyor appveyor 4096 Nov 13 2020 5.15.2
    lrwxrwxrwx 1 appveyor appveyor 23 Feb 20 22:37 6.2 ->
    /home/appveyor/Qt/6.2.4
    drwxr-xr-x 3 appveyor appveyor 4096 Mar 14 2022 6.2.4
    lrwxrwxrwx 1 appveyor appveyor 23 Feb 20 22:37 6.5 ->
    /home/appveyor/Qt/6.5.3
    drwxr-xr-x 3 appveyor appveyor 4096 Sep 26 2023 6.5.3
    lrwxrwxrwx 1 appveyor appveyor 23 Feb 20 22:37 6.7 ->
    /home/appveyor/Qt/6.7.2
    drwxr-xr-x 3 appveyor appveyor 4096 Jun 11 2024 6.7.2
    drwxr-xr-x 2 appveyor appveyor 4096 Nov 18 2014 Licenses
    drwxr-xr-x 3 appveyor appveyor 4096 Nov 22 2022 Tools
    lrwxrwxrwx 1 appveyor appveyor 24 Feb 20 22:37 latest ->
    /home/appveyor/Qt/5.15.2

    Cheers, Ale.

    El vie, 15 ago 2025 a las 10:15, Owen McDonnell (<
    [email blocked]>) escribió:

  5. 5 Posted by Alejandro Marti... on 16 Aug, 2025 12:38 PM

    Alejandro Martinez's Avatar

    Hi Owen, I confirmed Qt5.15 is working as expected on updated Ubuntu2204
    image, the problem is confined to Qt6:
    - Qt6.5 is incomplete as it is in Previous Ubuntu2204
    - Qt6.8.3 and Qt6.9.1 are missing, my intention is to use 6.8.3
    Cheers, Ale.

    El El vie, 15 de ago. de 2025 a la(s) 11:06, Alejandro Martinez <
    [email blocked]> escribió:

  6. Support Staff 6 Posted by Owen McDonnell on 16 Aug, 2025 02:05 PM

    Owen McDonnell's Avatar

    I can confirm that there was a problem with Qt 6.8.3 and 6.9.1 installation on the new images which we will work on addressing as soon as possible.
    The missing addons on the previous image for 6.5.3 was expected however as we usually only included the full component set for the latest version. Qt 6.7.2 on the previous image should have a more complete addon set if you want to try that in the meantime.

  7. 7 Posted by Alejandro Marti... on 16 Aug, 2025 02:48 PM

    Alejandro Martinez's Avatar

    Thank you, Owen, the same modules are missing from Qt 6.7.2 too, but no
    problem, I will wait for Qt 6.8.3
    Cheers, Ale.

    El sáb, 16 ago 2025 a las 11:05, Owen McDonnell (<
    [email blocked]>) escribió:

  8. Support Staff 8 Posted by Owen McDonnell on 20 Aug, 2025 03:51 AM

    Owen McDonnell's Avatar

    We've redeployed Ubuntu images with a fix for the missing Qt directories and components. Give it a try.

  9. 9 Posted by Alejandro Marti... on 20 Aug, 2025 06:42 PM

    Alejandro Martinez's Avatar

    Hi Owen, after adding:

    export QTDIR=$HOME/Qt/6.8
    export LD_LIBRARY_PATH=$QTDIR:$LD_LIBRARY_PATH
    export PATH=$QTDIR/bin:$PATH

    I got:
    qmake --version
    QMake version 3.1
    Using Qt version 6.8.3 in /home/appveyor/Qt/6.8.3/lib

    which is fine, regrettably there are missing modules we need to build
    GoldenCheetah:

    Project ERROR: Unknown module(s) in QT: webenginecore webenginewidgets
    webenginequick core5compat

    Cheers, Ale.

    El mié, 20 ago 2025 a las 0:51, Owen McDonnell (<
    [email blocked]>) escribió:

  10. Support Staff 10 Posted by Owen McDonnell on 20 Aug, 2025 08:21 PM

    Owen McDonnell's Avatar

    It looks like from 6.8 on it has been removed from the main Qt directory and added to extensions src.
    I don't know much about Qt development, but presumably you can just add some scripting to the init: phase of your build to grab it here and place it somewhere in your LD_LIBRARY_PATH.

  11. Support Staff 11 Posted by Owen McDonnell on 09 Sep, 2025 08:56 PM

    Owen McDonnell's Avatar

    Sorry for not updating sooner, but those QT extension modules are now present on the current Ubuntu image.
    https://www.appveyor.com/updates/2025/08/12/

  12. 12 Posted by Alejandro Marti... on 13 Sep, 2025 01:47 PM

    Alejandro Martinez's Avatar

    Hi Owen, I get the same error as above using both Qt6.8 and 6.9, no
    lib/libQt6WebEngine* or lib/libQt6Core5Compat* under Qt6.8 or Qt6.9 trees.

    This is what I see in my local install after selecting WebEngine from
    extensions and Qt5Compat from libraries using the online installer:

    ~/Qt/6.8.3/gcc_64/lib$ ls *WebEngine*
    libQt6WebEngineCore.prl libQt6WebEngineQuick.so.6
     libQt6WebEngineWidgets.prl
    libQt6WebEngineCore.so libQt6WebEngineQuick.so.6.8.3
     libQt6WebEngineWidgets.so
    libQt6WebEngineCore.so.6 libQt6WebEngineQuickDelegatesQml.prl
    libQt6WebEngineWidgets.so.6
    libQt6WebEngineCore.so.6.8.3 libQt6WebEngineQuickDelegatesQml.so
     libQt6WebEngineWidgets.so.6.8.3
    libQt6WebEngineQuick.prl libQt6WebEngineQuickDelegatesQml.so.6
    libQt6WebEngineQuick.so libQt6WebEngineQuickDelegatesQml.so.6.8.3

    ~/Qt/6.8.3/gcc_64/lib$ ls *Compat*
    libQt6Core5Compat.prl libQt6Core5Compat.so libQt6Core5Compat.so.6
     libQt6Core5Compat.so.6.8.3

    I could not find these in the latest image for 6.8 or 6.9, are there in
    other places?

    El mar, 9 sept 2025 a las 17:56, Owen McDonnell (<
    [email blocked]>) escribió:

  13. Support Staff 13 Posted by Owen McDonnell on 15 Sep, 2025 04:30 PM

    Owen McDonnell's Avatar

    We are working on addressing that.

  14. 14 Posted by Alejandro Marti... on 15 Sep, 2025 05:20 PM

    Alejandro Martinez's Avatar

    Ok, thanks.

    El El lun, 15 sept 2025 a la(s) 13:30, Owen McDonnell <
    [email blocked]> escribió:

  15. Support Staff 15 Posted by Owen McDonnell on 17 Sep, 2025 01:46 AM

    Owen McDonnell's Avatar

    We've deployed a fix for Ubuntu2204 image. Let us know if it solves your problem.

  16. 16 Posted by Alejandro Marti... on 17 Sep, 2025 01:29 PM

    Alejandro Martinez's Avatar

    It looks like it is fixed now according to my test using Qt 6.8.3, thank
    you!

    El mar, 16 sept 2025 a las 22:46, Owen McDonnell (<
    [email blocked]>) escribió:

  17. Support Staff 17 Posted by Owen McDonnell on 17 Sep, 2025 04:54 PM

    Owen McDonnell's Avatar

    Great, thanks for letting us know. Ubuntu2004 image will also be updated soon.

  18. 18 Posted by Ale Martinez on 22 Sep, 2025 02:23 PM

    Ale Martinez's Avatar

    Hi, this weekend I was able to complete a full build of GoldenCheetah using Qt 6.8.3 on Ubuntu2204 image, it took a while because the building process is slower than when using Qt 5.15.2 and sometimes the job is cancelled due to time limit, but it is working as expected, so thank you very much.
    Cheers, Ale.
    https://ci.appveyor.com/project/Joern-R/goldencheetah-knhd8/builds/...

  19. Support Staff 19 Posted by Owen McDonnell on 23 Sep, 2025 02:43 AM

    Owen McDonnell's Avatar

    Great, thanks for the update!

  20. Owen McDonnell closed this discussion on 23 Sep, 2025 02:43 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac