build: Add --with-qml configure option #2

Manually merged
hebasto merged 1 commit from 210613-build into main 2021-07-06 07:24:27 +00:00 AGit
hebasto commented 2021-06-13 21:29:16 +00:00 (Migrated from github.com)

This PR gets the build system ready for QML-based GUI builds.

Additionally, BDB wallet support by default is disabled -- it seems no reason to take BDB wallets in account for the next-gen GUI.

This PR gets the build system ready for QML-based GUI builds. Additionally, BDB wallet support by default is disabled -- it seems no reason to take BDB wallets in account for the next-gen GUI.
fanquake commented 2021-06-14 03:27:27 +00:00 (Migrated from github.com)

Isn't diverging from upstream just going to make rebasing / merging here needlessly harder?

--disable-fuzz-binary and --enable-suppress-external-warnings by default -- it is expected that designers will also make their builds, and these defaults will make their lives a bit more comfortable :)

Why are designers capable of doing ./configure but not ./configure --disable-fuzz-binary --enable-suppress-external-warnings? I'd assume they would be rarely re-configuring.

Isn't diverging from upstream just going to make rebasing / merging here needlessly harder? > --disable-fuzz-binary and --enable-suppress-external-warnings by default -- it is expected that designers will also make their builds, and these defaults will make their lives a bit more comfortable :) Why are designers capable of doing `./configure` but not `./configure --disable-fuzz-binary --enable-suppress-external-warnings`? I'd assume they would be rarely re-configuring.
hebasto commented 2021-06-14 04:01:14 +00:00 (Migrated from github.com)

@fanquake

Isn't diverging from upstream just going to make rebasing / merging here needlessly harder?

--disable-fuzz-binary and --enable-suppress-external-warnings by default -- it is expected that designers will also make their builds, and these defaults will make their lives a bit more comfortable :)

Why are designers capable of doing ./configure but not ./configure --disable-fuzz-binary --enable-suppress-external-warnings? I'd assume they would be rarely re-configuring.

Ok, the last two commits are dropped, the OP updated.

@fanquake > Isn't diverging from upstream just going to make rebasing / merging here needlessly harder? > > > --disable-fuzz-binary and --enable-suppress-external-warnings by default -- it is expected that designers will also make their builds, and these defaults will make their lives a bit more comfortable :) > > Why are designers capable of doing `./configure` but not `./configure --disable-fuzz-binary --enable-suppress-external-warnings`? I'd assume they would be rarely re-configuring. Ok, the last two commits are dropped, the OP updated.
jarolrod (Migrated from github.com) reviewed 2021-07-05 18:33:47 +00:00
jarolrod (Migrated from github.com) commented 2021-07-05 18:33:46 +00:00

I don't think we should include such a change in this repo, we should only focus on adding support for building with qml.

What we can do is just not program support for generating a bdb wallet with the new QML gui, but leave this as is. I think, as fanquake states, we should try not to diverge too much from the core repo on changes outside of the gui itself.

I don't think we should include such a change in this repo, we should only focus on adding support for building with qml. What we can do is just not program support for generating a `bdb` wallet with the new QML gui, but leave this as is. I think, as fanquake states, we should try not to diverge too much from the core repo on changes outside of the gui itself.
hebasto (Migrated from github.com) reviewed 2021-07-05 18:44:50 +00:00
hebasto (Migrated from github.com) commented 2021-07-05 18:44:50 +00:00

Ok, the commit dropped.

Ok, the commit dropped.
jarolrod (Migrated from github.com) reviewed 2021-07-05 20:46:25 +00:00
jarolrod (Migrated from github.com) commented 2021-07-05 20:46:25 +00:00

can you drop this change, i will include it in my doc pr

can you drop this change, i will include it in my doc pr
hebasto (Migrated from github.com) reviewed 2021-07-05 20:53:35 +00:00
hebasto (Migrated from github.com) commented 2021-07-05 20:53:35 +00:00

Done.

Done.
jarolrod (Migrated from github.com) reviewed 2021-07-05 21:48:02 +00:00
jarolrod (Migrated from github.com) left a comment

ACK d21a6a3bc1

Prior to installing the required dependencies (qtdeclarative5-dev and qtquickcontrols2-5-dev):

checking for QT_QML... no
configure: WARNING: Qt5Qml >= 5.9.5 not found; bitcoin-qt frontend will not be built

After installing dependencies:

checking for QT_QML... yes
checking for QT_QUICK... yes
checking for QT_QUICKCONTROLS... yes
ACK d21a6a3bc1cc1ec6f9408dc4dbed75fd84a6ed1d Prior to installing the required dependencies (`qtdeclarative5-dev` and `qtquickcontrols2-5-dev`): ``` checking for QT_QML... no configure: WARNING: Qt5Qml >= 5.9.5 not found; bitcoin-qt frontend will not be built ``` After installing dependencies: ``` checking for QT_QML... yes checking for QT_QUICK... yes checking for QT_QUICKCONTROLS... yes ```
Sign in to join this conversation.
No description provided.