Qt 5.3 for Haiku progress

@3dEyes

You wrote that webkitcrashes on qt 4 since fixed.
Give it a working hpkg for the last nightly’s for this.
or what can i do to build it self.

regards Jan

libqt4_x86-4.8.6.2-2-x86_gcc2.hpkg.zip
qtwebkit work stable

[quote=kim1963][quote=skatulskijean]

You wrote that webkitcrashes on qt 4 since fixed.
[/quote]

libqt4_x86-4.8.6.2-2-x86_gcc2.hpkg.zip
qtwebkit work stable[/quote]

could you please host this download in a place where it does not require tracking cookies and personal information to be given out. Please upload to haikuware !!!

[quote=thatguy]
could you please host this download in a place where it does not require tracking cookies and personal information to be given out. Please upload to haikuware !!![/quote]

Does this work?.
https://u.teknik.io/7Pr0A9.zip

[quote=kim1963][quote=skatulskijean]

You wrote that webkitcrashes on qt 4 since fixed.
[/quote]

libqt4_x86-4.8.6.2-2-x86_gcc2.hpkg.zip
qtwebkit work stable[/quote]

Thanks again .

Oh this is most stabler as the Version on the Haiku repo but it can not access all image formats (exsample jpeg is not working)
give it pyside or pyqt for Haiku?

Regards Jan

[quote=skatulskijean]

Oh this is most stabler as the Version on the Haiku repo but it can not access all image formats (exsample jpeg is not working)
give it pyside or pyqt for Haiku?

Regards Jan[/quote]

not access all image formats (exsample jpeg is not working) — ?? screenshot, please…

[quote=kim1963][quote=skatulskijean]

Oh this is most stabler as the Version on the Haiku repo but it can not access all image formats (exsample jpeg is not working)
give it pyside or pyqt for Haiku?

Regards Jan[/quote]

not access all image formats (exsample jpeg is not working) — ?? screenshot, please…[/quote]

Screenshot Qupzilla (Youtube.de)

https://db.tt/8BMgnENO

Haiku OS hrev ??
QupZilla version ?? HaikuPorts package ? installed jpeg_x86 package ? Check the installed image library !

Welcome to the Haiku shell.
~> listimage
(only QupZilla !)

TEAM 15473 (/boot/system/apps/QupZilla/qupzilla):
ID Text Data Seq# Init# Name

13648 0x01440000 0x0144e000 0 0 /boot/system/apps/QupZilla/qupzilla
13646 0x60e53000 0x00000000 0 0 commpage
13647 0x0088b000 0x008ab000 0 0 /boot/system/runtime_loader
13649 0x02227000 0x022f7000 0 0 /boot/system/lib/x86/libroot.so
13650 0x00f6b000 0x01302000 0 0 /boot/system/apps/QupZilla/lib/libQupZilla.so.1
13651 0x025db000 0x03aa0000 0 0 /boot/system/lib/x86/libQtWebKit.so.4.9.4
13652 0x01ebf000 0x020af000 0 0 /boot/system/lib/x86/libQtScript.so.4.8.6
13653 0x00f23000 0x00f5e000 0 0 /boot/system/lib/x86/libQtSql.so.4.8.6
13654 0x01465000 0x01e6c000 0 0 /boot/system/lib/x86/libQtGui.so.4.8.6
13655 0x004d4000 0x0060f000 0 0 /boot/system/lib/x86/libQtNetwork.so.4.8.6
13656 0x03dbe000 0x040f2000 0 0 /boot/system/lib/x86/libQtCore.so.4.8.6
13657 0x0210c000 0x021db000 0 0 /boot/system/lib/x86/libstdc++.so.6.0.19
13658 0x01355000 0x01360000 0 0 /boot/system/lib/x86/libgcc_s.so.1
13659 0x023e4000 0x02516000 0 0 /boot/system/lib/x86/libcrypto.so.1.0.0
13660 0x00c66000 0x00dda000 0 0 /boot/system/lib/x86/libtracker.so
13661 0x00e0b000 0x00e4e000 0 0 /boot/system/lib/x86/libnetwork.so
13662 0x0462f000 0x048cf000 0 0 /boot/system/lib/x86/libbe.so
13663 0x00666000 0x00689000 0 0 /boot/system/lib/x86/libpng15.so.15.12.0
13664 0x01e9b000 0x01eb1000 0 0 /boot/system/lib/x86/libz.so.1.2.8
13665 0x007e5000 0x007f7000 0 0 /boot/system/lib/x86/libtranslation.so
13666 0x0063d000 0x00655000 0 0 /boot/system/lib/x86/libsupc++.so
13667 0x04fe9000 0x06184000 0 0 /boot/system/lib/x86/libicudata.so.48.1.1
13668 0x03b9e000 0x03d51000 0 0 /boot/system/lib/x86/libicui18n.so.48.1.1
13669 0x00efc000 0x00f04000 0 0 /boot/system/lib/x86/libicuio.so.48.1.1
13670 0x020cd000 0x020fe000 0 0 /boot/system/lib/x86/libicule.so.48.1.1
13671 0x00617000 0x00620000 0 0 /boot/system/lib/x86/libiculx.so.48.1.1
13672 0x01384000 0x013a2000 0 0 /boot/system/lib/x86/libicutu.so.48.1.1
13673 0x0412c000 0x04266000 0 0 /boot/system/lib/x86/libicuuc.so.48.1.1
13674 0x043c4000 0x044bb000 0 0 /boot/system/lib/x86/libtextencoding.so
13675 0x0220e000 0x0221e000 0 0 /boot/system/lib/x86/libroot-addon-icu.so
13676 0x02356000 0x023d1000 0 0 /boot/system/add-ons/x86/Qt/sqldrivers/libqsqlite.so
13677 0x00c11000 0x00c58000 0 0 /boot/system/lib/x86/libssl.so.1.0.0
13678 0x00b2c000 0x00b32000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqgif.so
13679 0x0062f000 0x00636000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqico.so
13680 0x020ff000 0x02106000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqjpeg.so
13681 0x0253f000 0x0257a000 0 0 /boot/system/lib/x86/libjpeg.so.9.0.0
13682 0x00780000 0x007ca000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqmng.so
13683 0x00238000 0x0023d000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqsvg.so
13684 0x0257c000 0x025cb000 0 0 /boot/system/lib/x86/libQtSvg.so.4.8.6
13685 0x03d61000 0x03da0000 0 0 /boot/system/lib/x86/libQtXml.so.4.8.6
13686 0x0032b000 0x0032f000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqtga.so
13687 0x013e7000 0x01437000 0 0 /boot/system/add-ons/x86/Qt/imageformats/libqtiff.so
13688 0x021ff000 0x0220b000 0 0 /boot/system/add-ons/x86/Qt/bearer/libqgenericbearer.so

hrev47736 x86_gcc2 – www.youtube.de - all jpeg visible

Hi, is there any progress on releasing this? Is it available on github or elsewhere? I don’t want to pressure you, I am just really keen to use QT5!

Hej,

I started a Qt5 port to Haiku earlier that year as well, but it got stalled since little spare time left. Looks like I got nearly the same functionality as 3dEyes done :wink:
The git repo can be found at https://github.com/KDAB/qtbase-haiku
Since I’m pretty new to Haiku, reviews and comments to the code are more than welcome.

[quote=tokoe]Hej,

I started a Qt5 port to Haiku earlier that year as well, but it got stalled since little spare time left. Looks like I got nearly the same functionality as 3dEyes done :wink:
The git repo can be found at https://github.com/KDAB/qtbase-haiku
Since I’m pretty new to Haiku, reviews and comments to the code are more than welcome.[/quote]

Hi tokoe, this is great :slight_smile:

Can you expand upon what is and isn’t supported in your version? Do you have opengl support?

Looking forward to playing with it.

Thanks!

Hi tokoe! Nice work!

I’m the “de-facto” manager of the Qt4 port for Haiku at this point. There is a GitHub organization for the code: https://github.com/qt-haiku – can you move your work here? I’ll happily add you to the organization.

Hej Munchausen,

I basically created the QPA plugin for Haiku, so at the moment the basic window handling stuff is supported:

  • show widgets on screen
  • mouse and keyboard interaction (focus handling)
  • window handling (minimize/maximize), setting window title
  • clipboard handling
  • cursor handling
  • basic screen handling (e.g. request screen geometry)
  • support for QPlatformServices
  • support for QStandardDirs
  • support for QPlatformScreen::grabWindow()

I also have a private branch here that contains OpenGL support, but I wouldn’t call it stable yet. I’m unsure how to integrate the BGLView and the QPlatformOpenGLContext in a way that context sharing is done properly.
The simple OpenGL examples from Qt are running already, but the more advanced ones fail (which could on the other hand be an issue with my VirtualBox instance I’m using for development). If you are interested in the OpenGL patch, I can send you a copy, just drop me a mail to tobias.koenig at kdab.com.

Some month ago I also tried to port the qtdeclarative module, but since some 3rd-party libraries and the V8 JS engine was not ported to Haiku yet (and I didn’t want to litter the code with #ifdefs), I stalled these actions.
Maybe now, with QML using V4, it might be worth a try again… if I find some spare time :wink:

Btw, is there a Haiku mailing list where I can ask further questions about BGLView integration?

Hej waddlesplash,

is there a specific reason why that code is kept in a separated repository? Since the Haiku APIs are quite stable, wouldn’t it make sense to upstream the code for Qt5 support into the official Qt repository? That would allow us to keep track of changes in Qt more easily (no merging needed) and we can push for integration into Qt’s CI system.
I fear the Haiku port will never be a Tier 1 architecture for Qt, but at least a Tier 3 is possible. What do you think?

  1. Yes, there is a place to ask: the haiku-3rdparty mailing list. There’s a link on the mailing list page. However I doubt VirtualBox is causing any issues as we don’t have hardware-accelerated OpenGL of any kind nor a VirtualBox video driver.


  2. Upstreaming would be awesome, yes. However due to how much work that is and how little time everyone has I’m not sure we could keep it up-to-date all the time (the qt4 port was severely behind until I took some time to get it up to speed). Do you have time to do this work? Or should I? I’ve never submitted a Gerrit pull request before ever, although I’m quite familiar with the Qt APIs.

Hej waddlesplash,

ok, I’ll join the haiku-3rdparty mailing list then for further discussion of the OpenGL support.

Since my company works a lot with Qt and has an Open Source background, my boss allowed me to use part of my education time to drive the upstreaming and maintenance of the Haiku Qt port. I’ve a Gerrit account and am used to the procedures of upstreaming code to the Qt repository, so that shouldn’t be the limiting factor :slight_smile:
Do you want to join the Qt Gerrit as well, so that you can do code reviews?

Yes, that sounds good. I signed into Gerrit and set it up (I already had a Qt Bugtracker account). Let me know when a “haiku” Gerrit project is created so I can watch it. :slight_smile:

Hi Tokoe,

I’m writing up the list of features for the next release. I would like to include Qt 5.3 if there is enough development completed by the release. What do you expect to be working in the next month or two? What don’t you expect to be working in the next month or two?

Hej AndrewZ,

we’ll upstream the changes to Qt 5.5 (Qt 5.4 branch is in feature-freeze already, since it has been released last week already), so for an ‘official’ Qt on Haiku release we’d have to wait anyway.
I cannot give any guarantees what will be included or not, it highly depends on how fast upstreaming will happen (we have to wait for approval from other Qt developers for every commit, some discussion expected) and how much time I can spend on it from my spare/education time.

It has been about a month now since the last discussion. Could you elaborate on areas where the current QT5 port needs additional work ? what level of functionality it has ?