-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Closed
Labels
Description
I'm unable to build QT tests when using the depends system on macOS. I can build the tests fine without using depends. With depends, I can build QT and run all functional tests, using --disable-tests
.
cd depends
make
cd ..
./configure --prefix=/Users/bitcoin/dev/bitcoin/depends/x86_64-apple-darwin17.7.0
[...]
qt/test/moc_compattests.cpp:77:1: error: unknown type name 'QT_INIT_METAOBJECT'
QT_INIT_METAOBJECT const QMetaObject CompatTests::staticMetaObject = {
^
qt/test/moc_compattests.cpp:77:20: error: expected unqualified-id
QT_INIT_METAOBJECT const QMetaObject CompatTests::staticMetaObject = {
^
2 errors generated.
make[2]: *** [qt/test/test_bitcoin_qt-moc_compattests.o] Error 1
make[2]: *** Waiting for unfinished jobs....
qt/test/moc_rpcnestedtests.cpp:77:1: error: unknown type name 'QT_INIT_METAOBJECT'
QT_INIT_METAOBJECT const QMetaObject RPCNestedTests::staticMetaObject = {
^
qt/test/moc_rpcnestedtests.cpp:77:20: error: expected unqualified-id
QT_INIT_METAOBJECT const QMetaObject RPCNestedTests::staticMetaObject = {
^
2 errors generated.
make[2]: *** [qt/test/test_bitcoin_qt-moc_rpcnestedtests.o] Error 1