Skip to content

build: configure doesn't pickup Qt if depends is built with DEBUG=1 #16391

@fanquake

Description

@fanquake

Using master (536590f) and building depends using DEBUG=1 make -j8.

Configuring with ./autogen.sh && ./configure --prefix=/Users/michael/github/bitcoin/depends/x86_64-apple-darwin18.6.0 I'm seeing:

Options used to compile and link:
  with wallet   = yes
  with gui / qt = no
  with zmq      = yes
  with test     = yes
    with fuzz   = no
  with bench    = yes
  with upnp     = yes
  use asm       = yes
  sanitizers    = 
  debug enabled = no
  gprof enabled = no
  werror        = no

  target os     = darwin
  build os      = darwin

In config.log:

configure:27984: checking for static Qt plugins: -lqcocoa
ld: library not found for -lqcocoa
configure:27813: checking for static Qt plugins: -lqminimal
ld: library not found for -lqminimal
configure:27839: WARNING: Could not resolve: -lqminimal; bitcoin-qt frontend will not be built

Building depends without DEBUG=1 works as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions