Notices


Poll: Did you try Qt5 on N900?
Poll Options
Did you try Qt5 on N900?

Reply
Thread Tools
Posts: 3,192 | Thanked: 3,936 times | Joined on May 2011 @ Poland
#11
Originally Posted by frafI View Post
Any progress on that?
@marmistrz: Did you document your approach anywhere, so that someone willing to play with this does not have to start from scratch?

Did anyone consider building a Qt5 compatibility layer for Qt4? If you try to port software that doesn't use (m)any of Qt5's new features, it's actually just renaming some classes and reimplementing a few Qml properties. This task is quite similar for many applications and such a layer could save a lot of time if done only once.
Well, I did it a long time ago, but it should be something like that.

Code:
fakeroot apt-get build-dep libqt4-dev
// add the repo with source or just download the source with debian packaging and
cd path/you/need//
dpkg-buildpackage -rfakeroot
Qt Quick 2.0 would be killer!
__________________
If you want to support my work, you can donate by PayPal or Flattr

Current projects:
N950: rewrite driver for BH1770 for the upstream kernel

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 114 | Thanked: 298 times | Joined on Jan 2011 @ Berlin
#12
Originally Posted by marmistrz View Post
// add the repo with source or just download the source with debian packaging
Which debian source did you use? I've not found qt5 even in experimental or sid, is there a source package for harmattan?
 
Posts: 3,192 | Thanked: 3,936 times | Joined on May 2011 @ Poland
#13
The old repo was here, but it's probably down: http://qtlabs.org.br/~lmoura/qt5

You can try this: https://build.pub.meego.com/project/...ttan%3Atesting
__________________
If you want to support my work, you can donate by PayPal or Flattr

Current projects:
N950: rewrite driver for BH1770 for the upstream kernel

Projects no longer actively developed: here
 
Posts: 3,016 | Thanked: 12,456 times | Joined on Mar 2010 @ Sofia,Bulgaria
#14
Originally Posted by marmistrz View Post
Some newer lib is indeed required.
Code:
rm -f libQtWidgets.so.5.0.0 libQtWidgets.so libQtWidgets.so.5 libQtWidgets.so.5.0
arm-linux-gnueabi-g++ -Wl,-rpath-link,/home/marcin/qt5/qt5-base-5.0.0~20120504/lib -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/opt/qt5/lib -Wl,-rpath,/opt/qt5/lib -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list,/home/marcin/qt5/qt5-base-5.0.0~20120504/src/widgets/QtGui.dynlist -Wl,-soname,libQtWidgets.so.5 -o libQtWidgets.so.5.0.0 .obj/release-shared/qaction.o .obj/release-shared/qactiongroup.o .obj/release-shared/qapplication.o .obj/release-shared/qwidgetbackingstore.o .obj/release-shared/qboxlayout.o .obj/release-shared/qformlayout.o .obj/release-shared/qgridlayout.o .obj/release-shared/qicon.o .obj/release-shared/qiconloader.o .obj/release-shared/qiconengine.o .obj/release-shared/qiconengineplugin.o .obj/release-shared/qlayout.o .obj/release-shared/qlayoutengine.o .obj/release-shared/qlayoutitem.o .obj/release-shared/qshortcut.o .obj/release-shared/qstackedlayout.o .obj/release-shared/qtooltip.o .obj/release-shared/qwhatsthis.o .obj/release-shared/qwidget.o .obj/release-shared/qwidgetaction.o .obj/release-shared/qgesture.o .obj/release-shared/qstandardgestures.o .obj/release-shared/qgesturerecognizer.o .obj/release-shared/qgesturemanager.o .obj/release-shared/qsoftkeymanager.o .obj/release-shared/qdesktopwidget.o .obj/release-shared/qwidgetsvariant.o .obj/release-shared/qapplication_qpa.o .obj/release-shared/qdesktopwidget_qpa.o .obj/release-shared/qwidget_qpa.o .obj/release-shared/qwidgetwindow_qpa.o .obj/release-shared/qplatformmenu_qpa.o .obj/release-shared/qdrawutil.o .obj/release-shared/qstyle.o .obj/release-shared/qstylefactory.o .obj/release-shared/qstyleoption.o .obj/release-shared/qstyleplugin.o .obj/release-shared/qstylehelper.o .obj/release-shared/qcommonstyle.o .obj/release-shared/qproxystyle.o .obj/release-shared/qstylepainter.o .obj/release-shared/qstylesheetstyle.o .obj/release-shared/qstylesheetstyle_default.o .obj/release-shared/qcdestyle.o .obj/release-shared/qplastiquestyle.o .obj/release-shared/qgtkstyle.o .obj/release-shared/qgtkpainter.o .obj/release-shared/qgtkstyle_p.o .obj/release-shared/qcleanlooksstyle.o .obj/release-shared/qwindowsstyle.o .obj/release-shared/qmotifstyle.o .obj/release-shared/qabstractbutton.o .obj/release-shared/qabstractslider.o .obj/release-shared/qabstractspinbox.o .obj/release-shared/qcalendarwidget.o .obj/release-shared/qcheckbox.o .obj/release-shared/qcombobox.o .obj/release-shared/qcommandlinkbutton.o .obj/release-shared/qdatetimeedit.o .obj/release-shared/qdial.o .obj/release-shared/qdialogbuttonbox.o .obj/release-shared/qdockwidget.o .obj/release-shared/qdockarealayout.o .obj/release-shared/qeffects.o .obj/release-shared/qfontcombobox.o .obj/release-shared/qframe.o .obj/release-shared/qgroupbox.o .obj/release-shared/qlabel.o .obj/release-shared/qlcdnumber.o .obj/release-shared/qlineedit_p.o .obj/release-shared/qlineedit.o .obj/release-shared/qmainwindow.o .obj/release-shared/qmainwindowlayout.o .obj/release-shared/qmdiarea.o .obj/release-shared/qmdisubwindow.o .obj/release-shared/qmenu.o .obj/release-shared/qmenubar.o .obj/release-shared/qprogressbar.o .obj/release-shared/qpushbutton.o .obj/release-shared/qradiobutton.o .obj/release-shared/qrubberband.o .obj/release-shared/qscrollbar.o .obj/release-shared/qsizegrip.o .obj/release-shared/qslider.o .obj/release-shared/qspinbox.o .obj/release-shared/qsplashscreen.o .obj/release-shared/qsplitter.o .obj/release-shared/qstackedwidget.o .obj/release-shared/qstatusbar.o .obj/release-shared/qtabbar.o .obj/release-shared/qtabwidget.o .obj/release-shared/qtextedit.o .obj/release-shared/qtextbrowser.o .obj/release-shared/qtoolbar.o .obj/release-shared/qtoolbarlayout.o .obj/release-shared/qtoolbarextension.o .obj/release-shared/qtoolbarseparator.o .obj/release-shared/qtoolbox.o .obj/release-shared/qtoolbutton.o .obj/release-shared/qabstractscrollarea.o .obj/release-shared/qwidgetresizehandler.o .obj/release-shared/qfocusframe.o .obj/release-shared/qscrollarea.o .obj/release-shared/qwidgetanimator.o .obj/release-shared/qwidgettextcontrol.o .obj/release-shared/qwidgetlinecontrol.o .obj/release-shared/qtoolbararealayout.o .obj/release-shared/qplaintextedit.o .obj/release-shared/qcolordialog.o .obj/release-shared/qdialog.o .obj/release-shared/qerrormessage.o .obj/release-shared/qfiledialog.o .obj/release-shared/qfontdialog.o .obj/release-shared/qinputdialog.o .obj/release-shared/qmessagebox.o .obj/release-shared/qprogressdialog.o .obj/release-shared/qsidebar.o .obj/release-shared/qfilesystemmodel.o .obj/release-shared/qfileinfogatherer.o .obj/release-shared/qwizard.o .obj/release-shared/qaccessiblewidget.o .obj/release-shared/qabstractitemview.o .obj/release-shared/qheaderview.o .obj/release-shared/qlistview.o .obj/release-shared/qbsptree.o .obj/release-shared/qtableview.o .obj/release-shared/qtreeview.o .obj/release-shared/qabstractitemdelegate.o .obj/release-shared/qitemdelegate.o .obj/release-shared/qdirmodel.o .obj/release-shared/qlistwidget.o .obj/release-shared/qtablewidget.o .obj/release-shared/qtreewidget.o .obj/release-shared/qproxymodel.o .obj/release-shared/qitemeditorfactory.o .obj/release-shared/qstandarditemmodel.o .obj/release-shared/qtreewidgetitemiterator.o .obj/release-shared/qdatawidgetmapper.o .obj/release-shared/qfileiconprovider.o .obj/release-shared/qcolumnview.o .obj/release-shared/qcolumnviewgrip.o .obj/release-shared/qstyleditemdelegate.o .obj/release-shared/qgraphicsgridlayout.o .obj/release-shared/qgraphicsitem.o .obj/release-shared/qgraphicsitemanimation.o .obj/release-shared/qgraphicslayout.o .obj/release-shared/qgraphicslayout_p.o .obj/release-shared/qgraphicslayoutitem.o .obj/release-shared/qgraphicslinearlayout.o .obj/release-shared/qgraphicsproxywidget.o .obj/release-shared/qgraphicsscene.o .obj/release-shared/qgraphicsscene_bsp.o .obj/release-shared/qgraphicsscenebsptreeindex.o .obj/release-shared/qgraphicssceneevent.o .obj/release-shared/qgraphicssceneindex.o .obj/release-shared/qgraphicsscenelinearindex.o .obj/release-shared/qgraphicstransform.o .obj/release-shared/qgraphicsview.o .obj/release-shared/qgraphicswidget.o .obj/release-shared/qgraphicswidget_p.o .obj/release-shared/qgridlayoutengine.o .obj/release-shared/qsimplex_p.o .obj/release-shared/qgraphicsanchorlayout_p.o .obj/release-shared/qgraphicsanchorlayout.o .obj/release-shared/qsystemtrayicon.o .obj/release-shared/qcolormap_qpa.o .obj/release-shared/qcompleter.o .obj/release-shared/qscroller.o .obj/release-shared/qscrollerproperties.o .obj/release-shared/qflickgesture.o .obj/release-shared/qundogroup.o .obj/release-shared/qundostack.o .obj/release-shared/qundoview.o .obj/release-shared/qsystemtrayicon_qpa.o .obj/release-shared/qguistatemachine.o .obj/release-shared/qkeyeventtransition.o .obj/release-shared/qmouseeventtransition.o .obj/release-shared/qbasickeyeventtransition.o .obj/release-shared/qbasicmouseeventtransition.o .obj/release-shared/qgraphicseffect.o .obj/release-shared/qpixmapfilter.o .obj/release-shared/moc_qboxlayout.o .obj/release-shared/moc_qdesktopwidget.o .obj/release-shared/moc_qformlayout.o .obj/release-shared/moc_qgridlayout.o .obj/release-shared/moc_qiconengineplugin.o .obj/release-shared/moc_qlayout.o .obj/release-shared/moc_qshortcut.o .obj/release-shared/moc_qsizepolicy.o .obj/release-shared/moc_qstackedlayout.o .obj/release-shared/moc_qsoftkeymanager_p.o .obj/release-shared/moc_qdesktopwidget_qpa_p.o .obj/release-shared/moc_qwidgetwindow_qpa_p.o .obj/release-shared/moc_qstyle.o .obj/release-shared/moc_qstyleplugin.o .obj/release-shared/moc_qcommonstyle.o .obj/release-shared/moc_qproxystyle.o .obj/release-shared/moc_qcdestyle.o .obj/release-shared/moc_qplastiquestyle.o .obj/release-shared/moc_qgtkstyle.o .obj/release-shared/moc_qgtkstyle_p.o .obj/release-shared/moc_qcleanlooksstyle.o .obj/release-shared/moc_qwindowsstyle.o .obj/release-shared/moc_qmotifstyle.o .obj/release-shared/moc_qbuttongroup.o .obj/release-shared/moc_qabstractbutton.o .obj/release-shared/moc_qabstractslider.o .obj/release-shared/moc_qcalendartextnavigator_p.o .obj/release-shared/moc_qcheckbox.o .obj/release-shared/moc_qcombobox_p.o .obj/release-shared/moc_qcommandlinkbutton.o .obj/release-shared/moc_qdatetimeedit_p.o .obj/release-shared/moc_qdial.o .obj/release-shared/moc_qdockwidget_p.o .obj/release-shared/moc_qframe.o .obj/release-shared/moc_qlcdnumber.o .obj/release-shared/moc_qmainwindow.o .obj/release-shared/moc_qmainwindowlayout_p.o .obj/release-shared/moc_qprogressbar.o .obj/release-shared/moc_qradiobutton.o .obj/release-shared/moc_qrubberband.o .obj/release-shared/moc_qscrollbar.o .obj/release-shared/moc_qslider.o .obj/release-shared/moc_qspinbox.o .obj/release-shared/moc_qsplashscreen.o .obj/release-shared/moc_qsplitter.o .obj/release-shared/moc_qstackedwidget.o .obj/release-shared/moc_qstatusbar.o .obj/release-shared/moc_qtabbar_p.o .obj/release-shared/moc_qtoolbarlayout_p.o .obj/release-shared/moc_qtoolbarextension_p.o .obj/release-shared/moc_qtoolbarseparator_p.o .obj/release-shared/moc_qwidgetresizehandler_p.o .obj/release-shared/moc_qfocusframe.o .obj/release-shared/moc_qscrollarea.o .obj/release-shared/moc_qwidgetanimator_p.o .obj/release-shared/moc_qwidgetlinecontrol_p.o .obj/release-shared/moc_qerrormessage.o .obj/release-shared/moc_qsidebar_p.o .obj/release-shared/moc_qfileinfogatherer_p.o .obj/release-shared/moc_qlistview.o .obj/release-shared/moc_qabstractitemdelegate.o .obj/release-shared/moc_qlistwidget_p.o .obj/release-shared/moc_qtablewidget_p.o .obj/release-shared/moc_qtreewidget_p.o .obj/release-shared/moc_qitemeditorfactory_p.o .obj/release-shared/moc_qcolumnviewgrip_p.o .obj/release-shared/moc_qgraphicsitemanimation.o .obj/release-shared/moc_qgraphicsscenelinearindex_p.o .obj/release-shared/moc_qgraphicswidget.o .obj/release-shared/moc_qgraphicsanchorlayout.o .obj/release-shared/moc_qsystemtrayicon.o .obj/release-shared/moc_qcompleter_p.o .obj/release-shared/moc_qsystemtrayicon_p.o .obj/release-shared/moc_qscroller.o .obj/release-shared/moc_qscroller_p.o .obj/release-shared/moc_qflickgesture_p.o .obj/release-shared/moc_qundogroup.o .obj/release-shared/moc_qundostack.o .obj/release-shared/moc_qundostack_p.o .obj/release-shared/moc_qundoview.o .obj/release-shared/moc_qkeyeventtransition.o .obj/release-shared/moc_qmouseeventtransition.o .obj/release-shared/moc_qbasickeyeventtransition_p.o .obj/release-shared/moc_qbasicmouseeventtransition_p.o .obj/release-shared/moc_qgraphicseffect.o .obj/release-shared/moc_qgraphicseffect_p.o .obj/release-shared/moc_qpixmapfilter_p.o .obj/release-shared/qrc_qstyle.o .obj/release-shared/qrc_qmessagebox.o   -L/home/marcin/qt5/qt5-base-5.0.0~20120504/lib -lQtGui -L/home/marcin/qt5/qt5-base-5.0.0~20120504/lib -lQtCore -lpthread -lgobject-2.0 -lglib-2.0 -lGLESv2 
.obj/release-shared/qgtkstyle_p.o: In function `QGtkStylePrivate::setupGtkFileChooser(_GtkWidget*, QWidget*, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>, bool, QHash<_GtkFileFilter*, QString>*)':
qgtkstyle_p.cpp:(.text+0x2fdc): undefined reference to `XSetTransientForHint'
.obj/release-shared/qgtkstyle_p.o: In function `QGtkStylePrivate::initGtkWidgets() const':
qgtkstyle_p.cpp:(.text+0x5d8c): undefined reference to `XSetErrorHandler'
qgtkstyle_p.cpp:(.text+0x5da8): undefined reference to `XSetErrorHandler'
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libQtWidgets.so.5.0.0] Error 1
make[2]: Leaving directory `/home/marcin/qt5/qt5-base-5.0.0~20120504/src/widgets'
make[1]: *** [sub-widgets-make_default-ordered] Error 2
make[1]: Leaving directory `/home/marcin/qt5/qt5-base-5.0.0~20120504'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
I think we need to work out, why the libxau6 (these all are family) causes a reboot loop on the stock kernel. (With kernel-power it doesn't cause a disaster)
http://talk.maemo.org/showthread.php?t=83939
Seems like missing -lX11
__________________
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: 3,192 | Thanked: 3,936 times | Joined on May 2011 @ Poland
#15
Originally Posted by freemangordon View Post
Seems like missing -lX11
Or maybe out of date? I don't have the sources anymore.

It was qtlabs.org.br indeed, I found it on my old scratchbox. But it's down
__________________
If you want to support my work, you can donate by PayPal or Flattr

Current projects:
N950: rewrite driver for BH1770 for the upstream kernel

Projects no longer actively developed: here

Last edited by marmistrz; 2013-02-06 at 17:41.
 
Alecsandru's Avatar
Posts: 440 | Thanked: 280 times | Joined on Oct 2012
#16
what it will happen if you try to update with hartman qt5?
 
Posts: 114 | Thanked: 298 times | Joined on Jan 2011 @ Berlin
#17
@Alecsandru:
Which one? The harmattan ones in listed in the Apt-Mirror wiki article are not accessible via the web and they are only binaries (as the "deb" at the beginning indicates), whereas we need the source to repackage them.
This one also lacks sources: http://qt-project.org/wiki/Qt-5-on-Nokia-N9


Originally Posted by marmistrz View Post
Some newer lib is indeed required.
Code:
 `XSetTransientForHint'
Wait a moment? Isn't this an xlib call? I thought the xlib-plugin was removed and we need a newer (1.5) version of xcb?

Last edited by frafI; 2013-02-06 at 22:01.
 
Alecsandru's Avatar
Posts: 440 | Thanked: 280 times | Joined on Oct 2012
#18
can someone do that? i asume with new qt the lagg will decrease.
 
Posts: 114 | Thanked: 298 times | Joined on Jan 2011 @ Berlin
#19
Originally Posted by Alecsandru View Post
can someone do that? i asume with new qt the lagg will decrease.
Don't set your expectations to high: Qt5 is not well adapted to the N900.

By the way: the XCB plugin compiles if you add some constants (and -qt-xcb to ./configure, so Qt uses its own XCB plugins).
 
Alecsandru's Avatar
Posts: 440 | Thanked: 280 times | Joined on Oct 2012
#20
but still the runtimes are faster ,
maybe someone can do it.
i'm in the learning stage with linux on pc
only if i had knowledge to make that happen
or someone with that do it for us
thank you anyway
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:31.