Unit tests incompatible with `qt5ct` or `qt5-style-plugins` #630

issue w0xlt opened this issue on July 14, 2022
  1. w0xlt commented at 6:00 PM on July 14, 2022: contributor

    I installed qt5ct and qt5-style-plugins to change the Bitcoin Core theme (master branch) on Ubuntu 21.10. If I change Ubuntu to dark mode, Bitcoin Core does not change. So most of the answers in this reddit post suggest installing qt5ct and qt5-style-plugins and it worked.

    I was able to successfully compile and run the executable (including changing the theme), but running make check failed without a detailed error:

    ../build-aux/test-driver: line 112:  5085 Aborted                 (core dumped) "$@" >> "$log_file" 2>&1
    FAIL: qt/test/test_bitcoin-qt
    

    And in the src/test-suite.log file:

    (gdb) === End of stack trace ===
    QFATAL : AppTests::appTests() Received signal 11
             Function time: 315ms Total time: 315ms
    FAIL!  : AppTests::appTests() Received a fatal error.
       Loc: [Unknown file(0)]
    Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 581ms
    ********* Finished testing of AppTests *********
    FAIL qt/test/test_bitcoin-qt (exit status: 134)
    

    It's certainly not a critical error but I thought it best to report it anyway.

  2. w0xlt commented at 5:57 PM on July 15, 2022: contributor

    I tried QT_LOGGING_RULES="qt5ct.debug=false" make check and BITCOIND=bitcoin-qt QT_LOGGING_RULES="qt5ct.debug=false" make check but the error persists.

    If the qt5ct is removed, make check works again.

  3. hebasto commented at 10:02 AM on May 17, 2025: member

    Closing due to recent upgrade to Qt 6.

    Feel free to reopen with updated details.

  4. hebasto closed this on May 17, 2025

Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-27 03:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me