The Following User Says Thank You to herpderp For This Useful Post: | ||
|
2013-02-07
, 15:20
|
|
Posts: 439 |
Thanked: 282 times |
Joined on Oct 2012
|
#32
|
|
2013-02-07
, 15:49
|
Posts: 329 |
Thanked: 422 times |
Joined on Feb 2011
@ derpton
|
#33
|
The Following User Says Thank You to herpderp For This Useful Post: | ||
|
2013-02-07
, 17:28
|
Posts: 114 |
Thanked: 298 times |
Joined on Jan 2011
@ Berlin
|
#34
|
That will make it even worse: you'll have to have both Qt5 (for the particular app) and Qt4 (for the rest of the UI) loaded in RAM to work.
That's gonna cause an opposite effect, filling up the RAM and making things even slower.
|
2013-02-07
, 17:29
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#35
|
The Following User Says Thank You to marmistrz For This Useful Post: | ||
|
2013-02-07
, 18:30
|
|
Posts: 439 |
Thanked: 282 times |
Joined on Oct 2012
|
#36
|
|
2013-02-07
, 18:41
|
|
Posts: 1,338 |
Thanked: 1,055 times |
Joined on Oct 2009
@ California, USA / Jordan
|
#37
|
|
2013-02-07
, 21:44
|
Posts: 329 |
Thanked: 422 times |
Joined on Feb 2011
@ derpton
|
#38
|
The Following User Says Thank You to herpderp For This Useful Post: | ||
|
2013-02-09
, 14:49
|
Posts: 114 |
Thanked: 298 times |
Joined on Jan 2011
@ Berlin
|
#39
|
|
2013-02-09
, 16:08
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#40
|
The calendar example runs!
However, as expected, it looks like Win95: mouse pointer, tiny font etc.
I just copied the libraries without adjusting the paths, so the QtQuick module isn't found yet (even though libQt5Quick.so is in the library path).
Edit: Copied qtbase/qml/QtQuick.2 to the folder of the application, now Qml apps fail with:
Shortlog of what I've done:Code:Cant find EGLConfig, returning null config QQuickWindow: makeCurrent() failed... ASSERT: "context" in file opengl/qopenglfunctions.cpp, line 194 Aborted
- git clone etc. (see http://qt-project.org/wiki/Building_Qt_5_from_Git)
- remove the hardfp flag in qtbase/mkspecs/devices/linux-maemo-n9-g++/qmake.conf
- configure using sysroot and toolchain from Madde: ./configure -developer-build -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license -device linux-maemo-n9-g++ -device-option CROSS_COMPILE=/opt/QtSDK/Maemo/4.6.2/toolchains/arm-2007q3-51sb6-gdb71-arm-none-linux-gnueabi_linux_x86_64/bin/arm-none-linux-gnueabi- -sysroot /opt/QtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/ -qt-xcb
- make and wait for errors
- #define missing XCB constants to 0 (they are defined as such on Ubuntu), except for those containing ATOM: copy the enum in xproto.h of your host system
- remove missing parts from xcb-error struct in the error handling function (they are just printed to stderr)
- minor corrections when another error occurs
- copy some libs (depends on example), an example and the xcb-plugin (to ./platform/libqxcb.so) to the N900 and run ./example (I've tried calendar (in examples/widgets/richtext/))
Here are the binaries:
http://dl.dropbox.com/u/2299259/qt5/calendar
http://dl.dropbox.com/u/2299259/qt5/qt5libs.tar.gz
The Following User Says Thank You to marmistrz For This Useful Post: | ||
You'll get the placebo effect like all the other people who installed Qt5 on their N9's and felt how fast and smooth it made everything. When in reality the Qt5 libraries just sat there doing nothing, because none of the UI code was linked against them, and still used the old Qt4 libraries that were installed.
But damn, why the f*ck am I arguing here with someone who is totally clueless and still fails to accept facts?