Advertisement
Guest User

MrBearPigAppMan

a guest
Jul 30th, 2014
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.46 KB | None | 0 0
  1. Bananna boards discount
  2.  
  3. ./configure -ldus-1 -dbus -opengl es2 -qpa eglfs -device rasp-pi -device-option CROSS_COMPILE=/home/joseph/raspberry/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-rpi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -nomake tests -prefix /opt/qt5-3-rpi -no-pch -skip qttools -nomake examples -hostprefix /mnt/rasp-pi-rootfs
  4.  
  5.  
  6. ./configure -dbus -opengl es2 -qpa eglfs -device rasp-pi -device-option CROSS_COMPILE=/home/joseph/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin//arm-linux-gnueabihf- -sysroot /mnt/rasp-rpi-rootfs/ -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -ldbus-1 -release -nomake tests -prefix /opt/qt5-3-rpi -no-pch -skip qttools -no-compile-examples -v
  7.  
  8. ##qt53.1 again
  9. ./configure -opengl es2 -qpa eglfs -dbus -device rasp-pi -device-option CROSS_COMPILE=/home/joseph/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/raspberry-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -nomake tests -prefix /opt/qt53-rpi/ -no-pch -skip qttools -no-compile-examples
  10.  
  11. export PATH=/opt/qt53-rpi/bin:$PATH
  12.  
  13. ##
  14. sudo ln -s /mnt/rasp-pi-rootfs/opt/vc/include/interface/vmcs_host/linux/vchost_config.h /mnt/rasp-pi-rootfs/opt/vc/include/interface/vmcs_host/vchost_config.h
  15. ###############QT5.3.1 CONFIGURE LOG ###########################################
  16. Configure summary
  17.  
  18. Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
  19. Building for: devices/linux-rasp-pi-g++ (arm, CPU features:)
  20. Platform notes:
  21.  
  22. - Also available for Linux: linux-kcc linux-icc linux-cxx
  23.  
  24. Build options:
  25. Configuration .......... accessibility alsa audio-backend c++11 clock-gettime clock-monotonic concurrent cross_compile dbus egl eglfs evdev eventfd fontconfig full-config getaddrinfo getifaddrs glib iconv icu inotify ipv6ifname large-config largefile libudev linuxfb medium-config minimal-config mremap nis no-harfbuzz opengl opengles2 openssl pcre png posix_fallocate qpa qpa reduce_exports release rpath shared small-config system-freetype system-zlib
  26. Build parts ............ libs examples
  27. Mode ................... release
  28. Using C++11 ............ yes
  29. Using PCH .............. no
  30. Target compiler supports:
  31. iWMMXt/Neon .......... no/auto
  32.  
  33. Qt modules and options:
  34. Qt D-Bus ............... yes (loading dbus-1 at runtime)
  35. Qt Concurrent .......... yes
  36. Qt GUI ................. yes
  37. Qt Widgets ............. yes
  38. Large File ............. yes
  39. QML debugging .......... yes
  40. Use system proxies ..... no
  41.  
  42. Support enabled for:
  43. Accessibility .......... yes
  44. ALSA ................... yes
  45. CUPS ................... no
  46. Evdev .................. yes
  47. FontConfig ............. yes
  48. FreeType ............... yes (system library)
  49. Glib ................... yes
  50. GTK theme .............. no
  51. HarfBuzz ............... no
  52. Iconv .................. yes
  53. ICU .................... yes
  54. Image formats:
  55. GIF .................. yes (plugin, using bundled copy)
  56. JPEG ................. yes (plugin, using bundled copy)
  57. PNG .................. yes (in QtGui, using bundled copy)
  58. journald ............... no
  59. mtdev .................. no
  60. Networking:
  61. getaddrinfo .......... yes
  62. getifaddrs ........... yes
  63. IPv6 ifname .......... yes
  64. OpenSSL .............. yes (loading libraries at run-time)
  65. NIS .................... yes
  66. OpenGL / OpenVG:
  67. EGL .................. yes
  68. OpenGL ............... yes (OpenGL ES 2.x)
  69. OpenVG ............... no
  70. PCRE ................... yes (bundled copy)
  71. pkg-config ............. yes
  72. PulseAudio ............. no
  73. QPA backends:
  74. DirectFB ............. no
  75. EGLFS ................ yes
  76. KMS .................. no
  77. LinuxFB .............. yes
  78. XCB .................. no
  79. Session management ..... yes
  80. SQL drivers:
  81. DB2 .................. no
  82. InterBase ............ no
  83. MySQL ................ no
  84. OCI .................. no
  85. ODBC ................. no
  86. PostgreSQL ........... no
  87. SQLite 2 ............. no
  88. SQLite ............... yes (plugin, using bundled copy)
  89. TDS .................. no
  90. udev ................... yes
  91. xkbcommon .............. no
  92. zlib ................... yes (system library)
  93.  
  94. NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
  95. Configure with '-qreal float' to create a build that is binary compatible with 5.1.
  96. Info: creating cache file /home/joseph/raspberry/qt-everywhere-opensource-src-5.3.1/qtbase/.qmake.cache
  97.  
  98. Qt is now configured for building. Just run 'make'.
  99. Once everything is built, you must run 'make install'.
  100. Qt will be installed into /opt/qt53-rpi
  101.  
  102. Prior to reconfiguration, make sure you remove any leftovers from
  103. the previous build.
  104.  
  105. ################################################################################################################################
  106. #####################################QT WEBKIT ####################################################
  107. Qt version 5.0.0 or later
  108. sudo apt-get install gperf bison flex sqlite fontconfig xrender phonon libjpeg libpng libc6 libegl1-mesa libegl1-x11 libgcc1 libgles2-mesa libgles2 libglib2.0-0 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libicu52 libjpeg8 libpng12-0 libsqlite3-0 libstdc++6 libwebp5 libx11-6 libxml2 libxslt1.1 zlib1g
  109.  
  110.  
  111.  
  112.  
  113. ##################################################################################################
  114.  
  115.  
  116. ######################################FOR XCB SUPPORT ###############################################################################
  117. sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev
  118.  
  119. #####################################################################################################################################
  120.  
  121.  
  122. ###############################################QT5 BASE #############################################################################
  123.  
  124. ##########################################################################################################################################
  125.  
  126.  
  127.  
  128.  
  129.  
  130. #########################################################QT DUS ###############################################################
  131.  
  132.  
  133. libdbus-1-3
  134.  
  135. ################################################################################################################################
  136.  
  137. ############################################QTMULTIMEDIA ##########################################################################
  138. Info: creating cache file /home/joseph/raspberry/qt-everywhere-opensource-src-5.3.1/qtmultimedia/.qmake.cache
  139. Checking for openal... no
  140. Checking for alsa... yes
  141. Checking for pulseaudio... no
  142. Checking for gstreamer... yes
  143. Checking for gstreamer_photography... no
  144. Checking for gstreamer_encodingprofiles... yes
  145. Checking for gstreamer_appsrc... yes
  146. Checking for resourcepolicy... no
  147. Checking for gpu_vivante... no
  148. make[1]: Entering directory '/home/joseph/raspberry/qt-everywhere-opensource-src-5.3.1/qtmultimedia'
  149. cd src/ && ( test -e Makefile || /opt/qt53-rpi/bin/qmake /home/joseph/raspberry/qt-everywhere-opensource-src-5.3.1/qtmultimedia/src/src.pro -o Makefile ) && make -f Makefile
  150. make[2]: Entering directory '/home/joseph/raspberry/qt-everywhere-opensource-src-5.3.1/qtmultimedia/src
  151.  
  152.  
  153.  
  154. libqgsttools-p1 libc6 libgcc1 libpulse0 libstdc++6 libglib2.0-0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libpulse0 libqgsttools-p1 libstdc++6 libgles2-mesa libgles2
  155.  
  156. ##########################################################################################################################################
  157. IMAGES STUFF
  158.  
  159.  
  160. libjasper1 libmng1 libwebp5 libtiff5
  161.  
  162.  
  163. CUPS
  164.  
  165. libcups2
  166.  
  167. SQL Dirvers
  168. libodbc1 libmysqlclient18 libpq5 libsqlite3-0 libsybdb5
  169.  
  170. MISC
  171.  
  172. libpoppler46 libudev1 libglib2.0-0 libgeoclue0 libstdc++6 zlib1g libicu52 libglib2.0-0
  173.  
  174.  
  175.  
  176.  
  177. #######################################################ALL DEPS #############################################################
  178.  
  179. sudo apt-get install libjasper1 libmng1 libwebp5 libtiff5 libpoppler46 libudev1 libglib2.0-0 libgeoclue0 libstdc++6 zlib1g libicu52 libglib2.0-0 libodbc1 libmysqlclient18 libpq5 libsqlite3-0 libsybdb5 libcups2 libqgsttools-p1 libc6 libgcc1 libpulse0 libstdc++6 libglib2.0-0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libpulse0 libqgsttools-p1 libstdc++6 libgles2-mesa libgles2 libdbus-1-3 libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev gperf bison flex sqlite fontconfig phonon libc6 libegl1-mesa libegl1-x11 libgcc1 libgles2-mesa libgles2 libglib2.0-0 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libicu52 libjpeg8 libpng12-0 libsqlite3-0 libstdc++6 libwebp5 libx11-6 libxml2 libxslt1.1 zlib1g libxkbcommon-dev libudev-dev libwayland-dev libpng12-dev libjpeg8-dev libmtdev-dev autotools-dev autoconf automake bison flex libasound2-dev libxext-dev x11proto-xext-dev libxcursor-dev libxfixes-dev x11proto-fixes-dev libffi-dev libsm-dev libxcomposite-dev libdbus-1-dev libicu-dev libsqlite3-dev libxslt1-dev libssl-dev libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev libasound2-dev libavcodec-dev libavformat-dev libswscale-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-good gstreamer0.10-plugins-bad 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 libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-glx0-dev libx11-xcb-dev libglu1-mesa-dev libxrender-dev "^libxcb.*" libicu-dev libxslt-dev ruby libasound2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev systemd
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186. #################################################################WEBKIT #######################################################
  187. Configure summary
  188.  
  189. Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
  190. Building for: devices/linux-rasp-pi-g++ (arm, CPU features:)
  191. Platform notes:
  192.  
  193. - Also available for Linux: linux-kcc linux-icc linux-cxx
  194.  
  195. Build options:
  196. Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend c++11 clock-gettime clock-monotonic concurrent cross_compile cups dbus egl eglfs evdev eventfd fontconfig full-config getaddrinfo getifaddrs glib gtk2 gtkstyle iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap mtdev nis no-harfbuzz opengl opengles2 openssl pcre png posix_fallocate pulseaudio qpa qpa reduce_exports release rpath shared small-config system-freetype system-jpeg system-png system-zlib xcb xcb-plugin xcb-qt xcb-sm xcb-xlib xinput2 xkbcommon-qt xlib xrender
  197. Build parts ............ libs examples
  198. Mode ................... release
  199. Using C++11 ............ yes
  200. Using PCH .............. no
  201. Target compiler supports:
  202. iWMMXt/Neon .......... no/auto
  203.  
  204. Qt modules and options:
  205. Qt D-Bus ............... yes (loading dbus-1 at runtime)
  206. Qt Concurrent .......... yes
  207. Qt GUI ................. yes
  208. Qt Widgets ............. yes
  209. Large File ............. yes
  210. QML debugging .......... yes
  211. Use system proxies ..... no
  212.  
  213. Support enabled for:
  214. Accessibility .......... yes
  215. ALSA ................... yes
  216. CUPS ................... yes
  217. Evdev .................. yes
  218. FontConfig ............. yes
  219. FreeType ............... yes (system library)
  220. Glib ................... yes
  221. GTK theme .............. yes
  222. HarfBuzz ............... no
  223. Iconv .................. yes
  224. ICU .................... no
  225. Image formats:
  226. GIF .................. yes (plugin, using bundled copy)
  227. JPEG ................. yes (plugin, using system library)
  228. PNG .................. yes (in QtGui, using system library)
  229. journald ............... no
  230. mtdev .................. yes (system library)
  231. Networking:
  232. getaddrinfo .......... yes
  233. getifaddrs ........... yes
  234. IPv6 ifname .......... yes
  235. OpenSSL .............. yes (loading libraries at run-time)
  236. NIS .................... yes
  237. OpenGL / OpenVG:
  238. EGL .................. yes
  239. OpenGL ............... yes (OpenGL ES 2.x)
  240. OpenVG ............... no
  241. PCRE ................... yes (bundled copy)
  242. pkg-config ............. yes
  243. PulseAudio ............. yes
  244. QPA backends:
  245. DirectFB ............. no
  246. EGLFS ................ yes
  247. KMS .................. no
  248. LinuxFB .............. yes
  249. XCB .................. yes (bundled copy)
  250. EGL on X ........... no
  251. GLX ................ no
  252. MIT-SHM ............ yes
  253. Xcb-Xlib ........... yes
  254. Xcursor ............ yes (loaded at runtime)
  255. Xfixes ............. yes (loaded at runtime)
  256. Xi ................. no
  257. Xi2 ................ yes
  258. Xinerama ........... yes (loaded at runtime)
  259. Xrandr ............. yes (loaded at runtime)
  260. Xrender ............ yes
  261. XKB ................ yes
  262. XShape ............. yes
  263. XSync .............. yes
  264. XVideo ............. yes
  265. Session management ..... yes
  266. SQL drivers:
  267. DB2 .................. no
  268. InterBase ............ no
  269. MySQL ................ no
  270. OCI .................. no
  271. ODBC ................. no
  272. PostgreSQL ........... no
  273. SQLite 2 ............. yes (plugin)
  274. SQLite ............... yes (plugin, using bundled copy)
  275. TDS .................. yes (plugin)
  276. udev ................... no
  277. xkbcommon .............. yes (bundled copy, XKB config root: /usr/share/X11/xkb)
  278. zlib ................... yes (system library)
  279.  
  280. NOTE: libxkbcommon and libxkbcommon-x11 0.4.1 or higher not found on the system, will use
  281. the bundled version from 3rd party directory.
  282. NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
  283. Configure with '-qreal float' to create a build that is binary compatible with 5.1.
  284. Info: creating cache file /home/joseph/raspberry/qt-everywhere-opensource-src-5.3.1/qtbase/.qmake.cache
  285.  
  286. Qt is now configured for building. Just run 'make'.
  287. Once everything is built, you must run 'make install'.
  288. Qt will be installed into /opt/qt53-rpi
  289.  
  290. Prior to reconfiguration, make sure you remove any leftovers from
  291. the previous build.
  292.  
  293.  
  294. ###########################################################################################################################################
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305. ####################################################QT5.3.1 from Git ######################################################################
  306. Configure summary
  307.  
  308. Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
  309. Building for: devices/linux-rasp-pi-g++ (arm, CPU features:)
  310. Platform notes:
  311.  
  312. - Also available for Linux: linux-kcc linux-icc linux-cxx
  313.  
  314. Build options:
  315. Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend c++11 clock-gettime clock-monotonic concurrent cross_compile cups dbus egl eglfs evdev eventfd fontconfig full-config getaddrinfo getifaddrs glib gtk2 gtkstyle iconv inotify ipv6ifname large-config largefile libudev linuxfb medium-config minimal-config mremap mtdev nis no-harfbuzz opengl opengles2 openssl pcre png posix_fallocate pulseaudio qpa qpa reduce_exports release rpath shared small-config system-freetype system-jpeg system-png system-zlib xcb xcb-plugin xcb-qt xcb-sm xcb-xlib xinput2 xkbcommon-qt xlib xrender
  316. Build parts ............ libs examples
  317. Mode ................... release
  318. Using C++11 ............ yes
  319. Using PCH .............. no
  320. Target compiler supports:
  321. iWMMXt/Neon .......... no/auto
  322.  
  323. Qt modules and options:
  324. Qt D-Bus ............... yes (loading dbus-1 at runtime)
  325. Qt Concurrent .......... yes
  326. Qt GUI ................. yes
  327. Qt Widgets ............. yes
  328. Large File ............. yes
  329. QML debugging .......... yes
  330. Use system proxies ..... no
  331.  
  332. Support enabled for:
  333. Accessibility .......... yes
  334. ALSA ................... yes
  335. CUPS ................... yes
  336. Evdev .................. yes
  337. FontConfig ............. yes
  338. FreeType ............... yes (system library)
  339. Glib ................... yes
  340. GTK theme .............. yes
  341. HarfBuzz ............... no
  342. Iconv .................. yes
  343. ICU .................... no
  344. Image formats:
  345. GIF .................. yes (plugin, using bundled copy)
  346. JPEG ................. yes (plugin, using system library)
  347. PNG .................. yes (in QtGui, using system library)
  348. journald ............... no
  349. mtdev .................. yes (system library)
  350. Networking:
  351. getaddrinfo .......... yes
  352. getifaddrs ........... yes
  353. IPv6 ifname .......... yes
  354. OpenSSL .............. yes (loading libraries at run-time)
  355. NIS .................... yes
  356. OpenGL / OpenVG:
  357. EGL .................. yes
  358. OpenGL ............... yes (OpenGL ES 2.x)
  359. OpenVG ............... no
  360. PCRE ................... yes (bundled copy)
  361. pkg-config ............. yes
  362. PulseAudio ............. yes
  363. QPA backends:
  364. DirectFB ............. no
  365. EGLFS ................ yes
  366. KMS .................. no
  367. LinuxFB .............. yes
  368. XCB .................. yes (bundled copy)
  369. EGL on X ........... no
  370. GLX ................ no
  371. MIT-SHM ............ yes
  372. Xcb-Xlib ........... yes
  373. Xcursor ............ yes (loaded at runtime)
  374. Xfixes ............. yes (loaded at runtime)
  375. Xi ................. no
  376. Xi2 ................ yes
  377. Xinerama ........... yes (loaded at runtime)
  378. Xrandr ............. yes (loaded at runtime)
  379. Xrender ............ yes
  380. XKB ................ yes
  381. XShape ............. yes
  382. XSync .............. yes
  383. XVideo ............. yes
  384. Session management ..... yes
  385. SQL drivers:
  386. DB2 .................. no
  387. InterBase ............ no
  388. MySQL ................ no
  389. OCI .................. no
  390. ODBC ................. no
  391. PostgreSQL ........... no
  392. SQLite 2 ............. yes (plugin)
  393. SQLite ............... yes (plugin, using bundled copy)
  394. TDS .................. yes (plugin)
  395. udev ................... yes
  396. xkbcommon .............. yes (bundled copy, XKB config root: /usr/share/X11/xkb)
  397. zlib ................... yes (system library)
  398.  
  399. NOTE: libxkbcommon and libxkbcommon-x11 0.4.1 or higher not found on the system, will use
  400. the bundled version from 3rd party directory.
  401. NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
  402. Configure with '-qreal float' to create a build that is binary compatible with 5.1.
  403. Info: creating cache file /home/joseph/raspberry/qt5/qtbase/.qmake.cache
  404.  
  405. Qt is now configured for building. Just run 'make'.
  406. Once everything is built, you must run 'make install'.
  407. Qt will be installed into /opt/qt53-rpi
  408.  
  409. Prior to reconfiguration, make sure you remove any leftovers from
  410. the previous build.
  411.  
  412.  
  413.  
  414. ################################################################################################################################
  415.  
  416.  
  417. sudo mount -o loop,offset=62914560 primarkimage.img /mnt/rasp-pi-rootfs
  418.  
  419.  
  420. //overloading the mem past 256 buffers this out the -redir is used to ssh in from things like say Qtcreator
  421.  
  422. qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda 2014-01-07-wheezy-raspbian.img -redir tcp:2222::22
  423.  
  424. // Auto Tools config.
  425.  
  426.  
  427.  
  428.  
  429. // Qt5.2 beta1
  430. wget http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/single/qt-everywhere-opensource-src-5.2.0-beta1.tar.gz
  431.  
  432.  
  433. sudo ./fixQualifiedLibraryPaths /mnt/rasp-pi-rootfs/ ~/qemu_vm/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gcc
  434. ## baZinGO ##
  435. sudo ./fixQualifiedLibraryPaths /mnt/rasp-pi-rootfs/ ~/qemu_vm/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++
  436.  
  437. tar xvf qt-everywhere-opensource-src-5.2.0-beta1.tar.gz
  438. go to src of qt5.2
  439.  
  440. ./configure -opengl es2 -qpa eglfs -device rasp-pi -device-option CROSS_COMPILE=/home/joseph/qemu_vm/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -nomake tests -prefix /usr/local/qt5-rpi -no-pch -skip qttools
  441.  
  442. make -j 3
  443.  
  444. looking Good QtCore and QtGui and what not are compiling been about 2 hr
  445. Getting a lot of warning in the 3rd party qtjscore lib
  446. It is now 6pm sat the 14 of 2014 and the toolkit is still compiling,
  447. starting to see qml stuff compile ! good sign.
  448.  
  449. It is 7:04pm sat 14 2014 and Qt5.2 toolchain is built !!
  450.  
  451. going to try and build a app to the virtual machine now.
  452.  
  453.  
  454. sudo apt-get install libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev libicu-dev libsqlite3-dev libxslt1-dev libssl-dev libasound2-dev libavcodec-dev libavformat-dev libswscale-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-good gstreamer0.10-plugins-bad
  455.  
  456. sudo mount -o loop,offset=62914560 raspberry-working-image.img /mnt/raspberry-rootfs
  457.  
  458.  
  459.  
  460. //setup
  461.  
  462.  
  463. //Tutorials
  464.  
  465. http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=37386
  466. http://qt-project.org/wiki/RaspberryPi_Beginners_guide
  467. http://www.ics.com/blog/building-qt-and-qtwayland-raspberry-pi#.U5yRUHWx15Q
  468.  
  469. //SCripts
  470. https://gist.githubusercontent.com/keyz182/3488286/raw/d1d301946297be999d96df632a0ad0095a4d77e7/bakeqtpi.bash
  471.  
  472.  
  473. ./mkraspbian-chroot chroot /home/joseph/qemu_vm/mkrasbian-chroot/wheezy-armhf/
  474.  
  475. sudo mount -o loop,offset=62914560 2014-01-07-wheezy-raspbian.img /mnt/rasp-pi-rootfs
  476.  
  477.  
  478.  
  479. //Notes
  480.  
  481.  
  482. //Qt5.20-beta1
  483.  
  484. cleaned up the mess from 5.3 try
  485. new configure tweeked from the last 3 tutorials that I have tried,
  486.  
  487.  
  488.  
  489.  
  490.  
  491. //Qt5.3
  492. Qt5.3.1 would not compile for me. errors where with linked gcc Though I think the error can be fixed buy fixing the link to g++ and not to gcc
  493. this did create binarys for qmake and all but I did not tes as I am working on getting qt5.2.0 to compile, It has compiled for the last 2 hr. Seems like a good sign,
  494.  
  495. // steps taken
  496. Got the rasberry debian edition and started to make a qemu virtual got the kernel image for qemu from a 3rd party source. Tested the rasbeian virtual machine to see if things worked. Things worked great. So I then started the Quest for qt5.3 for the rasberry PI.
  497.  
  498. I grabed the linaro version of gcc to compile qmake.
  499. " -reduce-relocations is not allowed with linaro gcc "
  500.  
  501.  
  502. I then grabbed all the build-dependeces for the build to take place. (look at tutorials I installed all on host machine)
  503. I then grabbed the cross compile tools from git
  504. tried to compile after configureing via auto tools.
  505.  
  506.  
  507. no luck.
  508. followed tutorials angain after running make and make clean / dist-clean about 5 times.
  509.  
  510. Going to try to install qt5.2 Looking ICS tutorial that has waylan weston as a windows server.
  511.  
  512.  
  513.  
  514.  
  515. // log error of qt5.3
  516.  
  517. // DID NOT WORK Tried for Qt5.3
  518. ./configure -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=~/qemu_vm/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs/ -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -make libs -prefix /usr/local/qt5pi
  519.  
  520.  
  521.  
  522.  
  523. ERRORS
  524. /home/joseph/qemu_vm/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf --sysroot=/mnt/rasp-pi-rootfs -Wl,--no-undefined -Wl,-O1 -shared -Wl,-soname,libQt5Core.so.5 -o libQt5Core.so.5.3.1 .obj/qabstractanimation.o .obj/qvariantanimation.o .obj/qpropertyanimation.o .obj/qanimationgroup.o .obj/qsequentialanimationgroup.o .obj/qparallelanimationgroup.o .obj/qpauseanimation.o .obj/qatomic_unix.o .obj/qglobal.o .obj/qglobalstatic.o .obj/qlibraryinfo.o .obj/qmalloc.o .obj/qnumeric.o .obj/qlogging.o .obj/qatomic.o .obj/qexception.o .obj/qresultstore.o .obj/qfutureinterface.o .obj/qfuturewatcher.o .obj/qmutex.o .obj/qreadwritelock.o .obj/qrunnable.o .obj/qmutexpool.o .obj/qsemaphore.o .obj/qthread.o .obj/qthreadpool.o .obj/qthreadstorage.o .obj/qthread_unix.o .obj/qwaitcondition_unix.o .obj/qarraydata.o .obj/qbitarray.o .obj/qbytearray.o .obj/qbytearraymatcher.o .obj/qcollator.o .obj/qcommandlineoption.o .obj/qcommandlineparser.o .obj/qcryptographichash.o .obj/qdatetime.o .obj/qdatetimeparser.o .obj/qeasingcurve.o .obj/qelapsedtimer.o .obj/qfreelist.o .obj/qhash.o .obj/qline.o .obj/qlinkedlist.o .obj/qlist.o .obj/qlocale.o .obj/qlocale_tools.o .obj/qpoint.o .obj/qmap.o .obj/qmargins.o .obj/qmessageauthenticationcode.o .obj/qcontiguouscache.o .obj/qrect.o .obj/qregexp.o .obj/qregularexpression.o .obj/qrefcount.o .obj/qshareddata.o .obj/qsharedpointer.o .obj/qsimd.o .obj/qsize.o .obj/qstring.o .obj/qstringbuilder.o .obj/qstringlist.o .obj/qtextboundaryfinder.o .obj/qtimeline.o .obj/qtimezone.o .obj/qtimezoneprivate.o .obj/qunicodetools.o .obj/qvector.o .obj/qvsnprintf.o .obj/qelapsedtimer_unix.o .obj/qlocale_unix.o .obj/qtimezoneprivate_tz.o .obj/qcollator_posix.o .obj/pcre16_byte_order.o .obj/pcre16_chartables.o .obj/pcre16_compile.o .obj/pcre16_config.o .obj/pcre16_dfa_exec.o .obj/pcre16_exec.o .obj/pcre16_fullinfo.o .obj/pcre16_get.o .obj/pcre16_globals.o .obj/pcre16_jit_compile.o .obj/pcre16_maketables.o .obj/pcre16_newline.o .obj/pcre16_ord2utf16.o .obj/pcre16_refcount.o .obj/pcre16_string_utils.o .obj/pcre16_study.o .obj/pcre16_tables.o .obj/pcre16_ucd.o .obj/pcre16_utf16_utils.o .obj/pcre16_valid_utf16.o .obj/pcre16_version.o .obj/pcre16_xclass.o .obj/harfbuzz-buffer.o .obj/harfbuzz-gdef.o .obj/harfbuzz-gsub.o .obj/harfbuzz-gpos.o .obj/harfbuzz-impl.o .obj/harfbuzz-open.o .obj/harfbuzz-stream.o .obj/harfbuzz-shaper-all.o .obj/qharfbuzz.o .obj/qabstractfileengine.o .obj/qbuffer.o .obj/qdatastream.o .obj/qdataurl.o .obj/qtldurl.o .obj/qdebug.o .obj/qdir.o .obj/qdiriterator.o .obj/qfile.o .obj/qfiledevice.o .obj/qfileinfo.o .obj/qipaddress.o .obj/qiodevice.o .obj/qlockfile.o .obj/qnoncontiguousbytedevice.o .obj/qprocess.o .obj/qtextstream.o .obj/qtemporarydir.o .obj/qtemporaryfile.o .obj/qresource.o .obj/qresource_iterator.o .obj/qsavefile.o .obj/qstandardpaths.o .obj/qurl.o .obj/qurlidna.o .obj/qurlquery.o .obj/qurlrecode.o .obj/qsettings.o .obj/qfsfileengine.o .obj/qfsfileengine_iterator.o .obj/qfilesystemwatcher.o .obj/qfilesystemwatcher_polling.o .obj/qfilesystementry.o .obj/qfilesystemengine.o .obj/qfileselector.o .obj/qloggingcategory.o .obj/qloggingregistry.o .obj/qfsfileengine_unix.o .obj/qfilesystemengine_unix.o .obj/qlockfile_unix.o .obj/qprocess_unix.o .obj/qfilesystemiterator_unix.o .obj/qstandardpaths_unix.o .obj/qfilesystemwatcher_inotify.o .obj/qabstractitemmodel.o .obj/qabstractproxymodel.o .obj/qitemselectionmodel.o .obj/qidentityproxymodel.o .obj/qsortfilterproxymodel.o .obj/qstringlistmodel.o .obj/qjson.o .obj/qjsondocument.o .obj/qjsonobject.o .obj/qjsonarray.o .obj/qjsonvalue.o .obj/qjsonwriter.o .obj/qjsonparser.o .obj/qpluginloader.o .obj/qfactoryloader.o .obj/quuid.o .obj/qlibrary.o .obj/qelfparser_p.o .obj/qmachparser.o .obj/qlibrary_unix.o .obj/qabstracteventdispatcher.o .obj/qabstractnativeeventfilter.o .obj/qbasictimer.o .obj/qeventloop.o .obj/qcoreapplication.o .obj/qcoreevent.o .obj/qmetaobject.o .obj/qmetatype.o .obj/qmetaobjectbuilder.o .obj/qmimedata.o .obj/qobject.o .obj/qobjectcleanuphandler.o .obj/qsignalmapper.o .obj/qsocketnotifier.o .obj/qtimer.o .obj/qtranslator.o .obj/qvariant.o .obj/qcoreglobaldata.o .obj/qsharedmemory.o .obj/qsystemsemaphore.o .obj/qpointer.o .obj/qmath.o .obj/qsystemerror.o .obj/qcore_unix.o .obj/qcrashhandler.o .obj/qeventdispatcher_unix.o .obj/qtimerinfo_unix.o .obj/qsharedmemory_unix.o .obj/qsystemsemaphore_unix.o .obj/qisciicodec.o .obj/qlatincodec.o .obj/qtextcodec.o .obj/qtsciicodec.o .obj/qutfcodec.o .obj/qsimplecodec.o .obj/qgb18030codec.o .obj/qjpunicode.o .obj/qeucjpcodec.o .obj/qjiscodec.o .obj/qsjiscodec.o .obj/qeuckrcodec.o .obj/qbig5codec.o .obj/qiconvcodec.o .obj/qstatemachine.o .obj/qabstractstate.o .obj/qstate.o .obj/qfinalstate.o .obj/qhistorystate.o .obj/qabstracttransition.o .obj/qsignaltransition.o .obj/qeventtransition.o .obj/qmimedatabase.o .obj/qmimetype.o .obj/qmimemagicrulematcher.o .obj/qmimetypeparser.o .obj/qmimemagicrule.o .obj/qmimeglobpattern.o .obj/qmimeprovider.o .obj/qxmlstream.o .obj/qxmlutils.o .obj/qstring_compat.o .obj/qrc_mimetypes.o .obj/moc_qabstractanimation_p.o .obj/moc_qnamespace.o .obj/moc_qthread.o .obj/moc_qthreadpool.o .obj/moc_qfuturewatcher.o .obj/moc_qeasingcurve.o .obj/moc_qlocale.o .obj/moc_qtimeline.o .obj/moc_qfile.o .obj/moc_qfiledevice.o .obj/moc_qiodevice.o .obj/moc_qnoncontiguousbytedevice_p.o .obj/moc_qtextstream_p.o .obj/moc_qtemporaryfile.o .obj/moc_qsavefile.o .obj/moc_qsettings.o .obj/moc_qfilesystemwatcher_p.o .obj/moc_qfilesystemwatcher_polling_p.o .obj/moc_qfilesystemwatcher_inotify_p.o .obj/moc_qabstractitemmodel.o .obj/moc_qstringlistmodel.o .obj/moc_qpluginloader.o .obj/moc_qlibrary.o .obj/moc_qfactoryloader_p.o .obj/moc_qabstracteventdispatcher.o .obj/moc_qeventloop.o .obj/moc_qcoreapplication.o .obj/moc_qcoreevent.o .obj/moc_qmimedata.o .obj/moc_qsocketnotifier.o .obj/moc_qtimer.o .obj/moc_qtranslator.o .obj/moc_qobjectcleanuphandler.o .obj/moc_qsharedmemory.o .obj/moc_qeventdispatcher_unix_p.o .obj/moc_qabstractstate.o .obj/moc_qstate.o .obj/moc_qfinalstate.o .obj/moc_qhistorystate.o .obj/moc_qabstracttransition.o .obj/moc_qsignaltransition.o .obj/moc_qeventtransition.o -lpthread -lz -lm -ldl -lrt
  525. .obj/qlibrary_unix.o: In function `QLibraryPrivate::load_sys()':
  526. qlibrary_unix.cpp:(.text+0x1320): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  527. /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlopen.o): In function `dlopen':
  528. (.text+0xc): undefined reference to `__dlopen'
  529. /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlclose.o): In function `dlclose':
  530. (.text+0x0): undefined reference to `__dlclose'
  531. /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlsym.o): In function `dlsym':
  532. (.text+0xc): undefined reference to `__dlsym'
  533. /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlerror.o): In function `dlerror':
  534. (.text+0x0): undefined reference to `__dlerror'
  535. /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(feholdexcpt.o): In function `feholdexcept':
  536. (.text+0x48): undefined reference to `_dl_hwcap'
  537. /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(fesetenv.o): In function `fesetenv':
  538. (.text+0x64): undefined reference to `_dl_hwcap'
  539. collect2: error: ld returned 1 exit status
  540. Makefile:1004: recipe for target '../../lib/libQt5Core.so.5.3.1' failed
  541. make[2]: *** [../../lib/libQt5Core.so.5.3.1] Error 1
  542. make[2]: Leaving directory '/home/joseph/qemu_vm/qt5/qtbase/src/corelib'
  543. Makefile:132: recipe for target 'sub-corelib-make_first' failed
  544. make[1]: *** [sub-corelib-make_first] Error 2
  545. make[1]: Leaving directory '/home/joseph/qemu_vm/qt5/qtbase/src'
  546. Makefile:41: recipe for target 'sub-src-make_first' failed
  547. make: *** [sub-src-make_first] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement