Author Topic: Qt6 Development  (Read 27086 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4043
  • Karma: +81/-0
    • View Profile
Re: Qt6
« Reply #150 on: November 27, 2022, 01:59:19 am »

3) QtWebEngine is NOT (yet?) included, so at this stage, there is no browser possible with Qt6. It is loosely on the agenda to try and get this building, but it's a big job.


Bitwise just discovered that there is now a requirement of node.js for QTWebEngine. Hopefully it is portable enough for dmik to port.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #151 on: November 27, 2022, 02:39:23 am »
Yeah I saw that, I haven't even gotten as far as trying to run configure for it yet with the Qt6 version

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #152 on: November 27, 2022, 06:29:10 am »
I refreshed the zip file with a new qos2.dll that fixes the clipboard issues.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #153 on: November 27, 2022, 09:35:48 am »
configure output from qtwebengine is attached... a few dependencies missing..

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3903
  • Karma: +38/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6
« Reply #154 on: November 27, 2022, 02:03:57 pm »
Whilst I'll continue to work on this as time permits, any sponsorship is greatly appreciated - via PayPal using the link at https://os2ports.smedley.id.au, or via the Arca Noea webstore at https://www.arcanoae.com/shop/os2-ports-paul-smedley

If nothing else - if you're interested in seeing this work continue, please comment here to let me know that I'm not wasting my time on this!

Thank you very much Paul for your efforts with porting Qt 6. This is very interesting because it opens the door of the potencial software that can be ported.

Like:
- https://opensourcelibs.com/libs/qt
- https://wiki.manjaro.org/index.php/List_of_Qt_Applications


Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #155 on: November 27, 2022, 10:26:35 pm »
Hey Martin,

Whilst I'll continue to work on this as time permits, any sponsorship is greatly appreciated - via PayPal using the link at https://os2ports.smedley.id.au, or via the Arca Noea webstore at https://www.arcanoae.com/shop/os2-ports-paul-smedley

If nothing else - if you're interested in seeing this work continue, please comment here to let me know that I'm not wasting my time on this!

Thank you very much Paul for your efforts with porting Qt 6. This is very interesting because it opens the door of the potencial software that can be ported.

Like:
- https://opensourcelibs.com/libs/qt
- https://wiki.manjaro.org/index.php/List_of_Qt_Applications

Note that many of the projects in the above are still Qt4/Qt5... I actually struggled to find many examples of projects that have moved to Qt6. Scribus is one that I'll try and build in the near future.

Cheers,

Paul.

David McKenna

  • Hero Member
  • *****
  • Posts: 503
  • Karma: +18/-0
    • View Profile
Re: Qt6
« Reply #156 on: November 27, 2022, 11:00:07 pm »
Hi Paul,

  Tried Focuswriter and it seems to work OK... can type text and copy from clipboard, spell checking works, can change most settings and they work (with a few exceptions), can save and print to pdf.

  A couple of things don't work: no typing sounds, no symbols available, no themes (that I can tell), and no printer (except pdf).

  One odd thing is drop-down menus appear in the wrong location - seems to be to the left and above where they should be. You have to aim your cursor where it 'should' be to make a selection, but it works if you do. The menu bar items appear over the menu bar - if you click where they appear, you get what is under the box on the menu bar, not what is in the box. Have to aim below and to the right of the box.

  Not sure if these issues are due to QT6 or Focuswriter problems. Thanks for you work on this!

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #157 on: November 27, 2022, 11:35:46 pm »
Hey Dave,

Thanks! that's encouraging!! Sound could be just to an issue with QtMultimedia (I guess), printing I'll have to check what CUPS support was detected by QtBase - themes? I guess these are focuswriter themes? Perhaps I didn't package it properly. I didn't configure focuswriter with an install directory, so it defaulted to /usr/local which was going to be a PITA - and to reconfigure it meant hand hacking some makefiles to account for some issues detecting libraries <sigh>

Menu bar items almost sounds like https://github.com/bitwiseworks/qtbase-os2/commit/b037b745dd403030bdd8962016787730829a74e4

Oops I thought I'd picked up this commit, but turns out I hadn't (see https://github.com/psmedley/qt6-base-os2/blob/main/src/plugins/platforms/os2/qos2window.cpp)

I'll update this tonight, and also investigate the sound and printing. I assume sound works in Qt5?

Cheers,

Paul.

David McKenna

  • Hero Member
  • *****
  • Posts: 503
  • Karma: +18/-0
    • View Profile
Re: Qt6
« Reply #158 on: November 27, 2022, 11:50:43 pm »
Hey Paul,

  Actually, packaging may be the culprit with sounds (says it can't find /Programs/focuswriter/share/keyenter.wav), themes (desktop backgrounds for focuswriter) and symbols. Printing probably not working in QT6, because no printer appears (except PDF) in the printer dialog of focuswriter. Also didn't mention no drag and drop, but don't know if that should work or not. No idea about the drop down issue - I'll look for your update to see if that helps - thanks!

Regards,

  P.S. forgot to mention that the 'Helloworld' apps bundled with the latest drop don't work - I think you changed the DLL naming structure and they were made for the old format.
« Last Edit: November 27, 2022, 11:55:02 pm by David McKenna »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #159 on: November 27, 2022, 11:57:56 pm »
Oops forgot to remove the helloworld examples :/

I'll do a proper package of focuswriter then I get a chance.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #160 on: November 28, 2022, 08:22:42 am »
Hey Dave,

Menu bar items almost sounds like https://github.com/bitwiseworks/qtbase-os2/commit/b037b745dd403030bdd8962016787730829a74e4

Oops I thought I'd picked up this commit, but turns out I hadn't (see https://github.com/psmedley/qt6-base-os2/blob/main/src/plugins/platforms/os2/qos2window.cpp)

I'll update this tonight, and also investigate the sound and printing. I assume sound works in Qt5?

https://smedley.id.au/tmp/qt6-6.2.4-qos2-20221128.zip has a new qos2.dll that might fix the menu bar issue - copy the new dll into \qt6\plugins\platform

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #161 on: November 28, 2022, 09:10:36 am »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #162 on: November 28, 2022, 09:15:57 am »
Actually, packaging may be the culprit with sounds (says it can't find /Programs/focuswriter/share/keyenter.wav), themes (desktop backgrounds for focuswriter) and symbols. Printing probably not working in QT6, because no printer appears (except PDF) in the printer dialog of focuswriter. Also didn't mention no drag and drop, but don't know if that should work or not. No idea about the drop down issue - I'll look for your update to see if that helps - thanks!

re: printing, config.summary says:
Code: [Select]
Qt PrintSupport:
  CUPS ................................... yes

So I might have to double check patches to see if I missed anything...

Paul Smedley

  • Hero Member
  • *****
  • Posts: 1501
  • Karma: +130/-0
    • View Profile
Re: Qt6
« Reply #163 on: November 28, 2022, 10:51:57 am »
I also got Qt Creator 8.01 built tonight, will see if it works tomorrow....

David McKenna

  • Hero Member
  • *****
  • Posts: 503
  • Karma: +18/-0
    • View Profile
Re: Qt6
« Reply #164 on: November 28, 2022, 12:25:59 pm »
Paul,

  Installed this new focuswriter (20221128) under C:\usr\local but it traps on starting. I'll attach the trap log...

Regards,