maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] QML Browser - Web browser written using Qt Components Hildon (https://talk.maemo.org/showthread.php?t=93508)

princefakhan 2015-03-15 05:34

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
yeppp. The one from extras-devel doesn't work. That is the one I'm using.

marmistrz 2015-03-15 07:48

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
And are yousure that he "thumb" version didn't get upgraded to the extras-devel one?

princefakhan 2015-03-15 08:03

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
the version in my extras-devel is 0.8.2. I don't know if it is updated one?

the same happens with cuteRadio.

marmistrz 2015-03-15 10:57

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by princefakhan (Post 1464105)
the version in my extras-devel is 0.8.2. I don't know if it is updated one?

the same happens with cuteRadio.

Just do

Code:

sudo gainroot
dpkg -i /path/to/patch/qt-components-hildon.deb
echo "qt-components-hildon hold" | dpkg --set-selections

and then doing

Code:

apt-get upgrade
will notify you that qt-components-hildon was kept back.

pirateman: what aboout adding this +thumb0 suffix as in CSSU Thumb so that your version doesn't get replaced with the extras-devel one during apt-get upgrade?

princefakhan 2015-03-15 12:51

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
where is the patch though?

jmo707 2015-03-19 14:19

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Thanks marmistrz, I've done just as you said and now cuteRadio and QML Browser both work. Haven't found any problem with it (yet) =)

marmistrz 2015-05-23 13:03

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
@pirateman: the thumb-enabled version still has some problems. I created a simple app using org.hildon.components.Connections and I get

Code:

/opt/saercher/bin/saercher: symbol lookup error: /opt/lib/qt4/imports/org/hildon/components/libhildoncomponents.so: undefined symbol: _ZN23QDeclarativeConnectionsC2EP7QObject
After commenting out the Connections object, the error disappears

pirateman 2015-05-23 21:56

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by marmistrz (Post 1471332)
@pirateman: the thumb-enabled version still has some problems. I created a simple app using org.hildon.components.Connections and I get

Code:

/opt/saercher/bin/saercher: symbol lookup error: /opt/lib/qt4/imports/org/hildon/components/libhildoncomponents.so: undefined symbol: _ZN23QDeclarativeConnectionsC2EP7QObject
After commenting out the Connections object, the error disappears

trying to change that line with the components/qdeclarativeconnections_p.h file, at line 72:

Code:

virtual ~QDeclarativeConnections() {};

marmistrz 2015-05-24 14:56

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
Quote:

Originally Posted by pirateman (Post 1471356)
trying to change that line with the components/qdeclarativeconnections_p.h file, at line 72:

Code:

virtual ~QDeclarativeConnections() {};

I took the latest marxian's git version and applied the change. First I accidentally built it in with the normal, non-thumb toolchain. It built ok. Then I realized it, built with the thumb toolchain and I'm getting:

Code:

g++ -c -pipe -O3 -mfpu=neon -fno-fast-math -fno-graphite -fno-tree-vectorize -mthumb -fno-strict-volatile-bitfields -Wno-cast-align -Wno-psabi -fno-inline-functions -fno-unswitch-loops -fno-predictive-commoning -fno-gcse-after-reload -fno-ipa-cp-clone -D_REENTRANT -fPIC -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_PLUGIN -DQT_DECLARATIVE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/targets/fremantle-thumb/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/fremantle-thumb/usr/include/QtCore -I/targets/fremantle-thumb/usr/include/QtGui -I/targets/fremantle-thumb/usr/include/QtDBus -I/targets/fremantle-thumb/usr/include/QtDeclarative -I/targets/fremantle-thumb/usr/include -I../components -I. -o dbusmessage.o dbusmessage.cpp
In file included from dbusmessage.cpp:20:0:
qdbusutil_p.h:68:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:70:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:72:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:74:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:76:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:78:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:80:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:82:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:84:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h:86:5: error: 'QDBUS_EXPORT' does not name a type
qdbusutil_p.h: In function 'bool QDBusUtil::checkInterfaceName(const QString&, QDBusUtil::AllowEmptyFlag, QDBusError*)':
qdbusutil_p.h:100:38: error: 'isValidInterfaceName' was not declared in this scope
qdbusutil_p.h: In function 'bool QDBusUtil::checkBusName(const QString&, QDBusUtil::AllowEmptyFlag, QDBusError*)':
qdbusutil_p.h:112:32: error: 'isValidBusName' was not declared in this scope
qdbusutil_p.h: In function 'bool QDBusUtil::checkObjectPath(const QString&, QDBusUtil::AllowEmptyFlag, QDBusError*)':
qdbusutil_p.h:124:35: error: 'isValidObjectPath' was not declared in this scope
qdbusutil_p.h: In function 'bool QDBusUtil::checkMemberName(const QString&, QDBusUtil::AllowEmptyFlag, QDBusError*, const char*)':
qdbusutil_p.h:137:35: error: 'isValidMemberName' was not declared in this scope
qdbusutil_p.h: In function 'bool QDBusUtil::checkErrorName(const QString&, QDBusUtil::AllowEmptyFlag, QDBusError*)':
qdbusutil_p.h:150:34: error: 'isValidErrorName' was not declared in this scope
dbusmessage.cpp: In member function 'QString DBusMessage::replyString() const':
dbusmessage.cpp:335:12: error: 'argumentToString' is not a member of 'QDBusUtil'
make[3]: *** [dbusmessage.o] Error 1
make[3]: Leaving directory `/home/marcin/qtc/qt-components-hildon-master/src/dbus'
make[2]: *** [sub-dbus-make_default] Error 2
make[2]: Leaving directory `/home/marcin/qtc/qt-components-hildon-master/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/marcin/qtc/qt-components-hildon-master'
make: *** [build-stamp] Error 2


Android_808 2015-05-24 15:36

Re: [Announce] QML Browser - Web browser written using Qt Components Hildon
 
QDBUS_EXPORT should be Q_DBUS_EXPORT. there was a change in api between stock qt 4.7.0 version and cssu's 4.7.1.

best i can suggest is to make all references to it to new Q_DBUS_EXPORT and then add the following after includes:

#ifdef QT_VERSION < 0x040700
#define Q_DBUS_EXPORT QDBUS_EXPORT
#endif


All times are GMT. The time now is 04:06.

vBulletin® Version 3.8.8