aboutsummaryrefslogtreecommitdiff
path: root/build-aux/m4/bitcoin_qt.m4
AgeCommit message (Collapse)Author
2020-08-24Merge #17396: build: modest Android improvementsfanquake
366913e307d2dc13bc00d6bf7b6b2426c359ac30 build: AX_BOOST_THREAD serial 33 (Igor Cota) cf0681133ae7301ead7091eaee55c945da5cdfcc build: disable D-Bus on Android by default (Igor Cota) Pull request description: I've been trying to build for Android on different OSes/Gitian with varying success. Build system is quite the beast and sometimes it doesn't get it right. To make sure it does these three little tweaks make the Android build more robust: - disable D-Bus (Android doesn't support it and has its own way to trigger notifications) - don't flag `-lpthread` when linking Boost, [Bionic has built-in support](https://stackoverflow.com/questions/30801752/android-ndk-and-pthread) - ~~add `-static-libstdc++` to linker flags. This avoids having to bundle `libc++_shared` with CLI apps, still necessary with `bitcoin-qt` though (thanks Sjors)~~ I think these are small and fairly straightforward so I put them all into this one PR. ACKs for top commit: fanquake: ACK 366913e307d2dc13bc00d6bf7b6b2426c359ac30 Tree-SHA512: 31465fd228a5877c20aa2a05f98242d4eeb328b9b35bd1a7a3dcfb1ef51379d84053a81ade5a65436ffc1bc8ccd21f11ed0539eb10e827d182c0c04394629af0
2020-08-16build: disable D-Bus on Android by defaultIgor Cota
Android uses a different notification system and doesn't support D-Bus
2020-08-10build, qt: Add Qt version checkingHennadii Stepanov
2020-08-10build: Drop unused bitcoin_cv_qt58Hennadii Stepanov
2020-03-16build: Fix m4 escapingHennadii Stepanov
2020-03-16build: Remove extra tokens warningHennadii Stepanov
2020-03-16build: Remove duplicated QT_STATICPLUGIN defineHennadii Stepanov
QT_STATICPLUGIN is defined in BITCOIN_QT_CONFIGURE macro.
2020-03-16build: Fix indentation in bitcoin_qt.m4Hennadii Stepanov
2020-03-16build: Use pkg-config in BITCOIN_QT_CONFIGURE for all hostsHennadii Stepanov
This change adds to the BITCOIN_QT_CONFIGURE script ability to use pkg-config for MinGW. All of the non-pkg-config paths are removed as needless. If depends is built with DEBUG=1 the configure script fails to pickup Qt: - for macOS host (similar, but not the same as issue 16391) - for Windows host (regression)
2019-11-04Merge #16110: depends: Add Android NDK supportWladimir J. van der Laan
f9af3ced1c69d65c5c530ec5526f5eefaf786126 Android: add all arch support (Block Mechanic) d419ca7e32bfc71e8dd1f1b91870463eacd6ad8e depends: export dynamic JNI symbols from static qtforandroid.a (Igor Cota) ed30684d03d3a1d5496e69c488d848fe92ae6fb4 Qt: patch androidjnimain.cpp to make sure JNI is initialised when statically compiled (Igor Cota) e4c319e8a1c6e40a953036b942bd5d732b0bbf69 builds: remove superfluous config_opts_aarch64_android (Igor Cota) 24ffef0c271739a2ca75feecb816f3218c1850bf Patch libevent when building for Android (fix arc4random_addrandom) (Igor Cota) f1e40b3e7114b18bc03f45c3a97f9f673543ddef Update bitcoin_qt.m4 (BlockMechanic) b4057d82618a21720f39f448b689cebf475cc2dc Define TARGET_OS when host is android (Igor Cota) 80b475f159525737e242161397f35d0729449545 Fix Android zlib cross compilation issue (https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar) (Igor Cota) 45f82190150b3feef333724ea7395ba080e700b1 Add full Android build example command and instructions on getting SDK/NDK (Igor Cota) b68f2a68c211aa2264e9ca824d10a90f4a5a5af4 Add config opts and patch for aarch64_android build of Qt (Igor Cota) 9c4cb0166e801471f8cb3d82656c86bacf051db6 Add ranlib to android.mk hosts file (fix OSX Android NDK build) (Igor Cota) c2a749c9c16697e744ecfb283fdf4095d0278066 Add example Android host-platform-triplet and options (Igor Cota) 0b0cff3c61610fb56f8c5c9451ace01598117a8d Add support for building Android dependencies (Igor Cota) Pull request description: This allows one to build the dependencies with the Android SDK and goes towards fixing #11844. It has been tested to work with: `make HOST=aarch64-linux-android ANDROID_API_LEVEL=28 ANDROID_TOOLCHAIN_BIN=/home/user/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin NO_QT=1 NO_WALLET=1` ACKs for top commit: Sjors: ACK f9af3ce. I'm OK with merging and then improving later. Tree-SHA512: cb805115ebe5c9e33db2bf3eab8628808fe3f50052053d8877d8b8e4406d6fea1ed9e5c4dff85d777fb99c81be6ffb9d95a0e6d32344e728e5e0da6c653e2ce7
2019-10-12depends: export dynamic JNI symbols from static qtforandroid.aIgor Cota
2019-09-30build: Installed Qt version only appears if being builtJon Layton
2019-09-22Update bitcoin_qt.m4BlockMechanic
Fix to allow configure to detect at
2019-07-24doc: fix typo in bitcoin_qt.m4 commentfanquake
2019-07-24build: remove jpeg lib check from bitcoin_qt.m4fanquake
2019-07-17build-aux: Remove check for x11-xcbCarl Dong
We're no longer building QT with libX11/XLib, so it doesn't make sense to check for the x11-xcb package.
2019-02-14Bump minimum Qt version to 5.5.1Sjors Provoost
2018-11-14Bump the minimum Qt version to 5.2Hennadii Stepanov
2018-07-06Upgrade Qt depends to 5.9.6Sebastian Kung
2018-07-05Ugrade Qt depends to Qt5.9.4Sebastian Kung
Depends can now be built with Qt5.9.4 , which is Qt's new long term support version.
2018-06-13build: Build system changes to support only Qt5Wladimir J. van der Laan
2017-11-17scripted-diff: Orthogonalize string quotingWerner Lemberg
Add double qoutes to string tests where arguments could (theoretically) contain spaces. Remove double quotes where not necessary. -BEGIN VERIFY SCRIPT- sed -iE -e 's/"x\(yes\|no\|auto\)\?"/x\1/g' -e 's/test \(x\$[^ ]*\)/test "\1"/g' build-aux/m4/bitcoin_qt.m4 -END VERIFY SCRIPT-
2017-11-17bitcoin_qt.m4: Add missing dollar sign for variable.Werner Lemberg
2017-11-17bitcoin_qt.m4: Add missing braces around variables in autoconf messages.Werner Lemberg
2017-11-17bitcoin_qt.m4: Use correct M4 quoting characters.Werner Lemberg
2017-11-17bitcoin_qt.m4: Improve QT_VERSION tests.Werner Lemberg
Use '<QtCore/qconfig.h> and '<QtCore/qglobal.h>' for testing QT_VERSION. This makes the tests work with both Qt4 and Qt5, even if '-fPIC' or '-fPIE' is not used (the compiler might choke otherwise if QT_REDUCE_RELOCATIONS is active).
2017-06-08Avoid printing generic and duplicated "checking for QT" during ./configureTimothy Redaelli
Print "checking for QT4" and "checking for QT5" instead
2017-04-03Run bitcoin_test-qt under minimal QPA platformRussell Yanofsky
Fixes broken "make check" reported by Matt Corallo <git@bluematt.me> in https://github.com/bitcoin/bitcoin/issues/10110 Fix was suggested and initially implemented by Cory Fields <cory-nospam-@coryfields.com> in https://github.com/bitcoin/bitcoin/pull/10117#issuecomment-290275236
2017-01-28build: find qt's renamed helper libs from 5.7Cory Fields
2016-09-21Add MIT license to build-aux/m4 scriptsLuke Dashjr
2016-07-07build: Fix Qt5PlatformSupport check without pkg-configCory Fields
The non-pkg-config case can't use pkg-config to check the version. Also, make sure that the check is properly guarded in the case of missing pkg-config macros.
2016-06-20Only pass -lQt5PlatformSupport if >=Qt5.6Jonas Schnelli
2016-06-17Fix bitcoin_qt.m4 and fix-xcb-include-order.patchJonas Schnelli
2016-02-29Merge #7604: build: Remove spurious dollar sign. Fixes #7189.Wladimir J. van der Laan
3d19193 Remove spurious dollar sign. Fixes #7189. (Chris Moore)
2016-02-25Remove spurious dollar sign. Fixes #7189.Chris Moore
2015-12-14Unify package name to as few places as possible without major changesLuke Dashjr
2015-11-09build: Use fPIC rather than fPIE for qt objects.Cory Fields
But only if qt was built with reduced relocations.
2015-11-09build: Split hardening/fPIE options outCory Fields
This allows for fPIE to be used selectively.
2015-11-04build: If both Qt4 and Qt5 are installed, use Qt5Wladimir J. van der Laan
If both Qt4 and Qt5 development headers are installed, use Qt5. Building against Qt5 should be encouraged as that is where active development happens.
2015-07-31build: make sure pkg-config checks are guarded by an m4_ifdefCory Fields
2015-07-23build: fix building against qt5.4/5.5Cory Fields
2015-04-29qt: disable qt tests when one of the checks for the gui failsWladimir J. van der Laan
2014-10-03Bugfix: Replace bashisms with standard sh to fix build on non-BASH systemsLuke Dashjr
2014-10-01build: Fix OSX build when using Homebrew and qt5Cory Fields
Qt5 is bottled, so configure won't find it without some help. Use brew to find out its prefix. Also, qt5 added the host_bins variable to pkg-config, use it.
2014-09-16Update obsolete AC macros.randy-waterhouse
2014-09-16Create the common location for all m4 autotool build scripts, build-aux/m4.randy-waterhouse
Update .gitignore.