Active Topics

 


Reply
Thread Tools
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#121
broken links

https://wiki.mozilla.org/Embedding/IPCLiteAPI

http://romaxa.info/mer/mozbuildhm.tar.gz
http://romaxa.info/mer/mozbuild.tar.gz

they both point to wrong places in the actual document {http://romaxa.info/fennec/MozEmbeddingHarmattan and http://romaxa.info/fennec/MozEmbeddingMerArm}
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#122
Fixed that.
 

The Following User Says Thank You to shmerl For This Useful Post:
Posts: 40 | Thanked: 265 times | Joined on Aug 2007
#123
Originally Posted by freemangordon View Post
So far the only dependency to Qt 4.8 is:

Code:
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
which is easily replaceable with:
Code:
.
.
.
#if defined(Q_WS_X11)
#include <X11/Xlib.h>
#endif
.
.
.

#if QT_VERSION >= 0x040800
    QApplication::setAttribute(Qt::AA_X11InitThreads, true);
#else
    XInitThreads();
    QApplication::setAttribute(static_cast<Qt::ApplicationAttribute>(10), true);
#endif
Of course -lX11 should be added to make scripts too

@romaxa - would you consider adding that code to your branch?
Yep, that make sense. I guess it also make sense to figure out some bug tracking system, probably simple is enough... also grant access to repository to people who willing to contribute...
 

The Following 6 Users Say Thank You to romaxa For This Useful Post:
Posts: 586 | Thanked: 471 times | Joined on Jan 2010 @ Finland
#124
So.. We will get new "SuperFox" (this combined with Firefox) to harmattan and maybe on Maemo too? :O
 

The Following User Says Thank You to Makeclick For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#125
Well, Fremantle version will take a while

Code:
Nokia-N900:/opt/maemo/usr/local/lib/fennec-21.0a1$ gdb ./qmlMozEmbedTest
GNU gdb (GDB) 6.8.50.20090417-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) r
Starting program: /opt/maemo/usr/local/lib/fennec-21.0a1/qmlMozEmbedTest
int main(int, char**) Warning! Running without booster. This may be a bit slower.
Preloading theme "base" from cache
EmbedLiteExt QGraphicsMozView:QGraphicsMozView:238:
greHome from PWD:/opt/maemo/usr/local/lib/fennec-21.0a1
Created LOG for EmbedLiteTrace
EmbedLiteExt QDeclarativeMozView:updateContentsSize:108: sz:[800,0]
EmbedLiteExt QDeclarativeMozView:updateContentsSize:108: sz:[800,600]
QML On Completed>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>Func:virtual bool QGraphicsMozView::event(QEvent*)::453 Event Hide
>>>>>>Func:virtual bool QGraphicsMozView::event(QEvent*)::449 Event Show
Starting Application!!!
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.3 driver, enabling brokenFBOReadBack
>>>>>>Func:virtual bool QGraphicsMozView::event(QEvent*)::449 Event Show
EmbedLiteExt ExecuteChildThread:56:
Loaded xulDir:/opt/maemo/usr/local/lib/fennec-21.0a1/libxpcom.so, appDir:/opt/maemo/usr/local/lib/fennec-21.0a1
Created LOG for EmbedLite
EmbedLiteExt setDefaultPrefs:87:

###!!! [Child][AsyncChannel] Error: Processing error: message was deserialized, but the handler returned false (indicating failure)

EmbedLiteExt QGraphicsMozView:onInitialized:270:
QPixmap: It is not safe to use pixmaps outside the GUI thread
[New LWP 5346]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 5346]
0x44d94352 in ?? () from ./libxul.so
0x44d94352:     ldr     r3, [r0, #0]
(gdb) bt
#0  0x44d94352 in ?? () from ./libxul.so
#1  0x44795cde in ?? () from ./libxul.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Nevertheless, I'll debug into this.

EDIT:
seems Qt in Fremantle is missing this patch:
https://bzattachment.mandriva.com/at...t.cgi?id=18754
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer


Last edited by freemangordon; 2013-01-16 at 08:03.
 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 586 | Thanked: 471 times | Joined on Jan 2010 @ Finland
#126
Originally Posted by freemangordon View Post
Well, Fremantle version will take a while
But... The Harmattan will ? Can we get flash working with it too? It's fine without, but just asking.
 

The Following User Says Thank You to Makeclick For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#127
Originally Posted by Makeclick View Post
But... The Harmattan will ? Can we get flash working with it too? It's fine without, but just asking.
I have NFC if stock Qt in Harmattan has this patch backported from 4.8. However, flash should work OOTB, after all this is fennec without xul AIUI.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#128
Originally Posted by thedead1440 View Post
Either cd to dest dir first or export lib path...
You have to use LD_LIBRARY_PATH. This is not Windows. In Unix/Linux, unless you explicitly add the current directory (".") to the PATH/LD_LIBRARY_PATH, it will *NOT* be searched.

And it's a good thing that it was designed like that.
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#129
Originally Posted by qwazix View Post
@freemangordon in my understanding the philosophy behind qml is "disposable UI's". As there are no ifdefs in qml it's better to just build two of them. Maybe two git branches with a common base would be the way to go.

Even if everything works perfectly from one platform to another, the import statements are enough to break everything.
Thank god QML was designed to be portable. QT has already become the new Java.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#130
Originally Posted by reinob View Post
You have to use LD_LIBRARY_PATH. This is not Windows. In Unix/Linux, unless you explicitly add the current directory (".") to the PATH/LD_LIBRARY_PATH, it will *NOT* be searched.

And it's a good thing that it was designed like that.
That's what I meant... Did I imply Windows unknowingly?
 
Reply

Tags
thread derailed


 
Forum Jump


All times are GMT. The time now is 19:46.