Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please port to Qt6 #168

Open
Nowa-Ammerlaan opened this issue Mar 24, 2024 · 0 comments
Open

Please port to Qt6 #168

Nowa-Ammerlaan opened this issue Mar 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Nowa-Ammerlaan
Copy link

Downstream bug: https://bugs.gentoo.org/926671

We'd like to minimize the time during which we have to maintain both the Qt5 and Qt6 versions of QtWebEngine.

I gave it a shot myself, but got stuck here:

automatictheme.cpp: In constructor ‘AutomaticTheme::AutomaticTheme(QWidget*)’:
automatictheme.cpp:50:53: error: ‘updateTimeout’ is not a member of ‘QGeoPositionInfoSource’
50 |     connect(m_gPosInfoSrc, &QGeoPositionInfoSource::updateTimeout, this, [=]() {
|                                                     ^~~~~~~~~~~~~
automatictheme.cpp: In member function ‘void AutomaticTheme::on_refresh_clicked()’:
automatictheme.cpp:80:53: error: ‘class QDateTime’ has no member named ‘toTime_t’
80 |         sun.sunrise(QDateTime::currentDateTimeUtc().toTime_t()));
|                                                     ^~~~~~~~
automatictheme.cpp:82:52: error: ‘class QDateTime’ has no member named ‘toTime_t’
82 |         sun.sunset(QDateTime::currentDateTimeUtc().toTime_t()));
|                                                    ^~~~~~~~
make: *** [Makefile:1745: automatictheme.o] Error 1

My patch so far (just makes some adjustments for stuff that has been moved around in QtWebEngine): whatsie-4.14.2-qt6.txt

@keshavbhatt keshavbhatt self-assigned this May 25, 2024
@keshavbhatt keshavbhatt added the enhancement New feature or request label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants