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

QtService with QT6 #24

Open
lazaj opened this issue Jan 9, 2022 · 9 comments
Open

QtService with QT6 #24

lazaj opened this issue Jan 9, 2022 · 9 comments

Comments

@lazaj
Copy link

lazaj commented Jan 9, 2022

I used QtService with Qt5 on Mac Intel.
Qt official support for Mac ARM start with version 6.x.
Do you support Qt6 ?

@scaramancha
Copy link

Salute, I have already port it to Qt6 so let me know about...
Skycoder42, many thanks to you )

@Skycoder42
Copy link
Owner

@scaramancha would you mind creating a PR for Qt 6 support?

@scaramancha
Copy link

Salute, I will do this on the next week, sorry for delay ...

@stephenlang84
Copy link

@scaramancha Could you share the upgrade ?
I'm changing too, but currently the upgrade is just completed for MacOS and Windows, other backends is still under investing because Qt Android has a lot of changes.

@stephenlang84
Copy link

stephenlang84 commented Apr 22, 2022

@Skycoder42
I am building QtService with Qt6, but I get a problem, when integrating the new libs to my project(Cmake Qt project) and it said that cannot find Service through find_package, because it is missing .cmake files in Qt's cmake folder, But I don't understand how to generate these .cmake files.

@stephenlang84
Copy link

stephenlang84 commented May 30, 2022

@Skycoder42
I am building QtService with Qt6, but I get a problem, when integrating the new libs to my project(Cmake Qt project) and it said that cannot find Service through find_package, I was explained that it is missing .cmake files in Qt's cmake folder, But I don't understand how to generate these .cmake files ?

Finally I can generate .cmake file, I had to use https://github.com/qt/qtbase/blob/6.3.0/util/cmake/run_pro2cmake.py) tool to convert QtService from qmake to cmake then use /Qt/6.3.0/bin/qt-configure-module tool to generate the .cmake, the result is quite good, but still need to edit manually a bit. I'm not sure this is official solution to do that or not, but now I can find Qt6Service by find_package()

And QtService still work very stable with Qt6. Thanks @Skycoder42

@DeceitfulSloth
Copy link

@scaramancha Have you had a chance to look at the Qt6 code?

@stephenlang84
Copy link

@DeceitfulSloth @lazaj I forked/updated a version that works with Qt6. I didn’t create a pull request to the root repository of @Skycoder42 because it would take more effort to support both versions of Qt5 and Qt6.
https://github.com/stephenlang84/QtService

@DeceitfulSloth
Copy link

@stephenlang84 thanks for sharing that will be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants