mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
build, qt: No need to set inapplicable QPA backend for Android
This commit is contained in:
parent
d69af93223
commit
29e1794ba5
2 changed files with 0 additions and 7 deletions
|
@ -173,7 +173,6 @@ $(package)_config_opts_android += -android-sdk $(ANDROID_SDK)
|
||||||
$(package)_config_opts_android += -android-ndk $(ANDROID_NDK)
|
$(package)_config_opts_android += -android-ndk $(ANDROID_NDK)
|
||||||
$(package)_config_opts_android += -android-ndk-platform android-$(ANDROID_API_LEVEL)
|
$(package)_config_opts_android += -android-ndk-platform android-$(ANDROID_API_LEVEL)
|
||||||
$(package)_config_opts_android += -egl
|
$(package)_config_opts_android += -egl
|
||||||
$(package)_config_opts_android += -qpa xcb
|
|
||||||
$(package)_config_opts_android += -no-dbus
|
$(package)_config_opts_android += -no-dbus
|
||||||
$(package)_config_opts_android += -opengl es2
|
$(package)_config_opts_android += -opengl es2
|
||||||
$(package)_config_opts_android += -qt-freetype
|
$(package)_config_opts_android += -qt-freetype
|
||||||
|
|
|
@ -18,12 +18,6 @@ public class BitcoinQtActivity extends QtActivity
|
||||||
bitcoinDir.mkdir();
|
bitcoinDir.mkdir();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
Os.setenv("QT_QPA_PLATFORM", "android", true);
|
|
||||||
} catch (ErrnoException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue