Jump to content

tonychen

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

1337 profile views
  1. Done this check out my post here, you don't need to switch gcc version for Qt 5.8
  2. This is based on the guide at http://linux-sunxi.org/Qt5_For_Mali_Binarieswith modification. 1. compile armbian (In my case Jessie without desktop) from source https://github.com/igorpecovnik/lib 2. log in and edit /etc/modules-load.d/modules.conf add following line: 8189fs mali ump drm mali_drm sunxi_cedar_mod 3. Change the default gcc to gcc-4.8: sudo apt-get install gcc-4.8 g++-4.8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 10 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20 // Switch between version sudo update-alternatives --config gcc sudo update-alternatives --config g++ 3. Compile and install Mali Driver: add a file to /etc/udev/rules.d/ and call it 50-mali.rules with following content: KERNEL=="mali", MODE="0660", GROUP="video" KERNEL=="ump", MODE="0660", GROUP="video" add the following to /etc/apt/source.list: deb http://packages.linux-sunxi.org/ubuntu/quantal main deb-src http://packages.linux-sunxi.org/ubuntu/quantal main Run the following in console: sudo apt-get install libump apt-get install debhelper dh-autoreconf fakeroot pkg-config apt-get install git build-essential autoconf automake apt-get install xutils-dev git clone --recursive https://github.com/linux-sunxi/sunxi-mali.git cd sunxi-mali make config sudo make install Reboot the board 4. Install dependencies: sudo apt-get install libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev \ libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev \ libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev \ libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev \ libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev \ libsqlite3-dev \ libxcb-glx0-dev libxcb-xinerama0-dev\ sudo apt-get install libfontconfig1-dev libdbus-1-dev libudev-dev libicu-dev libsqlite3-dev libxslt1-dev libssl-dev libasound2-dev libavcodec-dev libswscale-dev libgstreamer0.10-dev gstreamer-plugins-base0.10-dev gstreamer-tools streamer0.10-plugins-bad libpulse-dev libx11-dev libglib2.0-dev freetds-dev libsqlite0-dev libpq-dev libiodbc2-dev libmysqlclient-dev firebird-dev libpng12-dev libgst-dev libxext-dev libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-glx0-dev libxi-dev libdrm-dev 5. Download Qt everywhere source and extract 6. ./configure -release -opensource -confirm-license -opengl es2 -no-pch -nomake examples —nomake tests -skip multimedia 7. make & make install (NB: using -j3 seems to give error when compile)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines