View Single Post
Posts: 304 | Thanked: 176 times | Joined on Oct 2009
#3
Originally Posted by szopin View Post
It works! Kind of.
There's definitely option overload in the main menu (the screenshot with horizontal lines, they are clickable though require a bit of patience), not sure how hard it would be to spread the options into two/three submenus. Some of the editable text fields also behave a bit wonky (display text once you start editing it).
Used libQtDesigner.so's from ubuntu (maemo's 4.5.3 complained on startup when loading few plugins, libqthelp seems to be working), to build you'll also need QtHelp/QtDesigner folders in /usr/include (used the ones from here: http://portal.nersc.gov/svn/visit/ta...4.7.4/include/).
You can put the softfp cflag in /usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf to not have to edit each makefile qmake creates.
Had to use g++ 4.2, mangling of va_lists which usually is just a mildly irritating warning, here results in errors. The garage version of libqt4-dev doesn't install nicely on CSSU (depends = 4.7.0), but still works after dpkg, one just needs to update symlinks in /usr/lib. Building version 2.1.0 on non-overclocked device takes some 18 hours.
I ported a Desktop QT application to the N900 and it was quite a mess. I had to build QT from scratch in scratchbox because it had a few missing libraries dependencies that are either not included in the CSSU or not updated. (libQtHelp, libQtCLucene just to name some). I had to include them with the application which is annoying.

I can probably provide you the natively built 4.7.4 libraries if you need them instead of using ubuntu's, but if those work then that's fine.


I mainly wanted to point out the handling of the file menu, I also have that problem where it barfs all of the options from all submenus on the Desktop into a single menu on the N900, but in my case there are so many options that I just get a blank file menu dropdown. I haven't had time to fix this but it should be possible to separate into several submenus but that requires tweaking the source. A quick 'fix' is to simply comment out declarations of several file menu commands that you deem unnecessary to shorten the list, it should make the buttons bigger.

Edit: To clarify, I pulled the QT source from the CSSU repo and built it myself in scratchbox, not the global 4.7.4 if that makes a difference.

Last edited by jessi3k3; 2013-07-12 at 12:07.
 

The Following 3 Users Say Thank You to jessi3k3 For This Useful Post: