Build with official Qt binary installer fails #14723

issue hebasto openend this issue on November 13, 2018
  1. hebasto commented at 10:54 pm on November 13, 2018: member

    My Linux has system-wide Qt 5.9.5. For testing purpose I’m trying to build Bitcoin Core against other Qt version which is installed from the official Qt’s site (e.g., Qt 5.10.1):

    0export PKG_CONFIG_PATH=/home/hebasto/Qt/5.10.1/gcc_64/lib/pkgconfig
    1./configure --with-gui=qt5
    2make
    

    It produces weird linker’s error related to Qt itself:

    0  CXXLD    qt/test/test_bitcoin-qt
    1qt/test/qt_test_test_bitcoin_qt-addressbooktests.o: In function `(anonymous namespace)::EditAddressAndSubmit(EditAddressDialog*, QString const&, QString const&, QString) [clone .constprop.863]':
    2/home/hebasto/Qt/5.10.1/gcc_64/include/QtTest/qtest.h:70: undefined reference to `QTest::toPrettyUnicode(QStringView)'
    3/home/hebasto/Qt/5.10.1/gcc_64/include/QtTest/qtest.h:70: undefined reference to `QTest::toPrettyUnicode(QStringView)'
    4...
    5Makefile:4034: recipe for target 'qt/test/test_bitcoin-qt' failed
    6...
    

    What am I doing wrong?

  2. fanquake added the label GUI on Nov 13, 2018
  3. fanquake added the label Linux/Unix on Nov 13, 2018
  4. mruddy commented at 0:01 am on November 14, 2018: contributor

    Not sure, but it looks like the signature of that function changed between 5.9 and 5.10: https://doc.qt.io/qt-5.9/qtest.html#toPrettyUnicode https://doc.qt.io/archives/qt-5.10/qtest.html#toPrettyUnicode

    Maybe there’s something that you can piece together given the info here?: https://github.com/bitcoin/bitcoin/tree/master/depends https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk

  5. hebasto commented at 11:54 pm on January 19, 2019: member
  6. hebasto closed this on Jan 19, 2019

  7. hebasto commented at 12:49 pm on January 20, 2019: member
  8. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC

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