Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt6: add check for modules getting found #25692

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

SvenRoederer
Copy link
Contributor

Summary

Changes to recipe: qt/6.x

Motivation

This adds a test for the issue seen in #23660 "Qt-modules not found".

Details

Even we are using Windows, but not Android as the mentioned issue, we had seen the same problem with QML-modules. WE added a test-application, which I'd like to share.
The PR involves 2 changes:

  • extending the current general test-code to ensure the Qt-plugins are found
  • adding a 2nd optional test to look for QML-modules, when feature "qtdeclarative" is enabled

@CLAassistant
Copy link

CLAassistant commented Oct 22, 2024

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Warning

Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 10 (1096e17f2f5313ad60962e4016a44c87c1edbbde):

  • qt/5.15.14:
    CI failed to create some packages (All logs)

    Logs for packageID 2f4a521a888609c32ffa6a7e61a56c18d563ee4e:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    qt:shared=False
    
    [...]
        CMAKE_INSTALL_SBINDIR
        CONAN_COMPILER_VERSION
        CONAN_EXPORTED
        CONAN_IN_LOCAL_CACHE
    
    
    "List of Plugin Modules: "
    "bearer"
    "generic"
    "imageformats"
    "platforminputcontexts"
    "platforms"
    "sqldrivers"
    "xcbglintegrations"
    Resource content: "Hello World From Resource\n"
    2
    inside f
    "Hello World!"
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by qt/5.15.14 to zlib/1.3.1 
    WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by qt/5.15.14 to zlib/1.3.1 
    WARN: freetype/2.13.2: requirement libpng/[>=1.6 <2] overridden by qt/5.15.14 to libpng/1.6.44 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by qt/5.15.14 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    WARN: libmysqlclient/8.1.0: requirement openssl/[>=1.1 <4] overridden by qt/5.15.14 to openssl/3.3.2 
    WARN: libmysqlclient/8.1.0: requirement zlib/[>=1.2.11 <2] overridden by qt/5.15.14 to zlib/1.3.1 
    WARN: libxml2/2.13.4: requirement zlib/[>=1.2.11 <2] overridden by xkbcommon/1.5.0 to zlib/1.3.1 
    WARN: wayland/1.22.0: requirement libxml2/[>=2.12.5 <3] overridden by xkbcommon/1.5.0 to libxml2/2.13.4 
    qt/5.15.14 (test package): WARN: 
         ************************************************
         The 'cmake_find_package_multi' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    qt/5.15.14 (test package): WARN: 
         ************************************************
         The 'qmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    qt/5.15.14 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    qt/5.15.14 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    
  • qt/6.7.3:
    Didn't run or was cancelled before finishing

  • qt/6.6.3:
    Didn't run or was cancelled before finishing

  • qt/6.5.3:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 10 (1096e17f2f5313ad60962e4016a44c87c1edbbde):

  • qt/5.15.14:
    Built 8 packages out of 10 (All logs)

  • qt/6.7.3:
    Built 4 packages out of 10 (All logs)

  • qt/6.6.3:
    Built 4 packages out of 10 (All logs)

  • qt/6.5.3:
    Built 6 packages out of 10 (All logs)

@SvenRoederer
Copy link
Contributor Author

Not sure, why the Conan v1 pipeline fails to build for qt/5.15.14, but as it fails during building the package, it's not related to the changes here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants