![]() Then, compile it and copy it to the gsoc2014 pre-packaged folder (see bellow): cd samples/controlsĬp controls ~/gsoc2014/android/libs/armeabi/libgsoc2014.so EXTRALIBS_GUI: remove -lQt5Test, -lQt5OpenGL and -lSM (you could include them, but you'll need to modify the pre-packaged app structure). ![]() LDFLAGS: add -Wl,-soname,libgsoc2014.so -Wl,-no-undefined -Wl,-z,noexecstack -shared -L ~/src/qt/5.2.1/android_armv5/lib (change ~/src/qt to the path where you installed Qt -not your system libs-, and probably another settings should be adapted too).In the controls samples build Makefile, change some settings to build the correct solib: NOTE: you can see the original customized config script for more information. configure -with-qt -enable-debug -build=x86_64-unknown-linux-gnu -host=arm-linux-androideabi -disable-compat28 -disable-shared -disable-arttango -enable-image -disable-dragimage -disable-sockets -with-libtiff=no -without-opengl -disable-baseevtloop -disable-utf8 Qt library that matches your operating system installed package (5.2.1 in this case installed in ~/src/qt, you'll need the android_armv5/ android_armv7/ android_x86/ pre-compiled folders to cross-compile for that architectures)Ĭreate a build directory (under the wxWidgets folder), configure and make: cd ~/src/wxWidgets.Standalone Android Software Development Kit (SDK), in this case installed in ~/src/android-sdk-linux.See announce (in wx-dev google group forum) First step: tool chain preparationĭownload Android Native Development Kit, install and follow the following instructions (change NDK and other paths) NDK=~/src/android-ndk-r9d See issue #10 for screenshots and a sample APK.ĭue the change in plans, the wxWidgets build process was not adapted yet to compile apps for Android, so some manual modifications are need to Makefiles and environment variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |