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

Support Qt6 #12

Open
VladimirR46 opened this issue Oct 18, 2023 · 10 comments
Open

Support Qt6 #12

VladimirR46 opened this issue Oct 18, 2023 · 10 comments

Comments

@VladimirR46
Copy link

Good afternoon, great library and great project! But when will there be QT 6 support? It is very urgent now.

There are already attempts to create such a library, but they do not work well.
https://github.com/mohsenkondori/QtAndroidViewShare

@ekke
Copy link
Owner

ekke commented Oct 18, 2023

I'm just porting around 20 Apps from 5.15 to 6.6. https://t1p.de/ekkeChecklist
nearly finished.
Then have to move from QMake to CMake.
Then will re-create my example apps. so it will take some weeks or months...
sorry... I'm a single independent app developer ;-)

@VladimirR46
Copy link
Author

Thank you so much! I'll be waiting!
I'm using Qt6 and cmake. And I just need to send text file (json) from android device via native FileDialog.

I wish you good luck! =)

@VladimirR46
Copy link
Author

My application is working, but there is no way I can solve the following problem(
Perhaps you know how to fix it?

image

@ekke
Copy link
Owner

ekke commented Oct 18, 2023

for your simple use-case you can try Qt 6.6 and QDesktopServices with the URL of your file. perhaps it's working

@ekke
Copy link
Owner

ekke commented Oct 18, 2023

for your error... have no time yet to inspect... too much work porting...

@VladimirR46
Copy link
Author

Thank you! I've solved my problem! Just added: setClipData
like

sendIntent.setType(mimeType);
sendIntent.setClipData(ClipData.newRawUri("", uri));
sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
QtNative.activity().startActivity(Intent.createChooser(sendIntent, "Share protocol using"));

@ekke
Copy link
Owner

ekke commented Oct 21, 2023

thx. will take a look at it later

@ApiTracer
Copy link

Hi,
Any news in porting share examples to Qt6 ?

@ekke
Copy link
Owner

ekke commented Mar 8, 2024

still working on QMake -> CMake for my mobile business apps
nearly done :)
when all my apps are running without problems using CMake, I'll start reworking my example apps

@ApiTracer
Copy link

Ok, thanks for the update

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

3 participants