Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12
Return to list New
Author: Haponov

Is there a manual to cross-compile Qt5 for OrangePI?

[Copy link]

1

Threads

6

Posts

67

Credits

Registered member

Rank: 2

Credits
67
 Author| Post time 2016-2-2 16:20:21 | Show all posts
shahe_ansar replied at 2016-2-2 07:06
Why are you not using gcc?

I just want programs developed in Qt to work on OPI. I can forget about cross-compiling. What OS for OPI did you install Qt onto?

4

Threads

44

Posts

165

Credits

Registered member

Rank: 2

Credits
165
Post time 2016-2-11 06:43:03 | Show all posts
I haven't recieved my OPi PC. I do have a BPro that's basically a OPi 1, and compiling Qt from source on my computer using the arm-linux-gcc was all I needed to do.

1

Threads

6

Posts

67

Credits

Registered member

Rank: 2

Credits
67
 Author| Post time 2016-2-11 19:39:36 | Show all posts
here's a suggestion, but that did not work for me with opengl:

sudo apt-get install libxcb1-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-util0-dev libxrender-dev libasound-dev libpulse-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-randr0-dev libx11-xcb-dev libffi-dev


git clone git://code.qt.io/qt/qt5.git QtStatic
cd QtStatic
git checkout 5.5
perl init-repository --module-subset=qtbase,qtimageformats
git checkout v5.5.1
cd qtimageformats && git checkout v5.5.1 && cd ..
cd qtbase && git checkout v5.5.1 && cd ..
./configure -release -opensource -confirm-license -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -qt-pcre -qt-xcb -qt-xkbcommon-x11 -no-opengl -static -nomake examples -nomake tests
make -j4
sudo make -j4 install

4

Threads

44

Posts

165

Credits

Registered member

Rank: 2

Credits
165
Post time 2016-4-22 05:36:31 | Show all posts
What were the errors?
12
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-9-23 23:14 GMT+8 , Processed in 0.026946 second(s), 19 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list