Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented Apr 22, 2016

Without this patch:

  • When I compile the GUI from the bitcoin directory itself, it works as expected.
  • When I build the GUI in an out-of-tree build, I cannot get it to select tabs. When I click, say the "Receive" tab nothing happens, the button selects but it doesn't switch the page. The rest - even the debug window - seems to work.

See full discussion here: #7911 (comment)

This turned out to be caused by a mismatch in the arguments to moc, preventing it from finding bitcoin-config.h. Fix this by passing $(DEFAULT_INCLUDES) to it, which gets set to the appropriate
path by autoconf itself.

Without this patch:

- When I compile the GUI from the bitcoin directory itself, it works as
  expected.

- When I build the GUI in an out-of-tree build, I cannot get it to
  select tabs. When I click, say the "Receive" tab nothing happens,
  the button selects but it doesn't switch the page. The rest - even
  the debug window - seems to work.

See full discussion here:
bitcoin#7911 (comment)

This turned out to be caused by a mismatch in the arguments to moc,
preventing it from finding `bitcoin-config.h`. Fix this by passing
`$(DEFAULT_INCLUDES)` to it, which gets set to the appropriate
path by autoconf itself.
@laanwj laanwj added the GUI label Apr 22, 2016
@jonasschnelli
Copy link
Contributor

Thanks.
utACK f59dceb

@laanwj laanwj merged commit f59dceb into bitcoin:master Apr 22, 2016
laanwj added a commit that referenced this pull request Apr 22, 2016
f59dceb qt: Fix out-of-tree GUI builds (Wladimir J. van der Laan)
@theuni
Copy link
Member

theuni commented Apr 23, 2016

Thanks!

jmcorgan added a commit to jmcorgan/bitcoin that referenced this pull request Jun 8, 2016
=====

qt: Fix out-of-tree GUI builds

Without this patch:

- When I compile the GUI from the bitcoin directory itself, it works as
  expected.

- When I build the GUI in an out-of-tree build, I cannot get it to
  select tabs. When I click, say the "Receive" tab nothing happens,
  the button selects but it doesn't switch the page. The rest - even
  the debug window - seems to work.

See full discussion here:
bitcoin#7911 (comment)

This turned out to be caused by a mismatch in the arguments to moc,
preventing it from finding `bitcoin-config.h`. Fix this by passing
`$(DEFAULT_INCLUDES)` to it, which gets set to the appropriate
path by autoconf itself.
laanwj added a commit that referenced this pull request Jun 28, 2016
9462e79 This is a cherry-pick of 89c844d back to 0.12. (Johnathan Corgan)
932aedd Cherry-pick of f59dceb (#7925) to 0.12. (Johnathan Corgan)
03c709b Backport leveldb build integration to 0.12 (Johnathan Corgan)
thokon00 pushed a commit to faircoin/faircoin that referenced this pull request Jun 28, 2016
=====

qt: Fix out-of-tree GUI builds

Without this patch:

- When I compile the GUI from the bitcoin directory itself, it works as
  expected.

- When I build the GUI in an out-of-tree build, I cannot get it to
  select tabs. When I click, say the "Receive" tab nothing happens,
  the button selects but it doesn't switch the page. The rest - even
  the debug window - seems to work.

See full discussion here:
bitcoin#7911 (comment)

This turned out to be caused by a mismatch in the arguments to moc,
preventing it from finding `bitcoin-config.h`. Fix this by passing
`$(DEFAULT_INCLUDES)` to it, which gets set to the appropriate
path by autoconf itself.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants