How to using external storage to save Images on QtQuick
-
Hi,
i want to use external storage to store all images for Project.Is it possible in Qt?
-
Hi,
i want to use external storage to store all images for Project.Is it possible in Qt?
@thuongnv284 Do you mean you want to store images in your app at runtime? Or do you want to store images used in your app somewhere?
-
@thuongnv284 Do you mean you want to store images in your app at runtime? Or do you want to store images used in your app somewhere?
@jsulm Thanks for your reply
I want to store images in my app at runtime. for example, i want to use USB for this work -
@jsulm Thanks for your reply
I want to store images in my app at runtime. for example, i want to use USB for this work@thuongnv284
well, QImage has a save functionalityYou just have to give it a valid path
-
@jsulm Thanks for your reply
I want to store images in my app at runtime. for example, i want to use USB for this work@thuongnv284 With QML/QtQuick you cannot do this. You will need to write C++ code using QFile or whatever to write the files.
-
@thuongnv284 With QML/QtQuick you cannot do this. You will need to write C++ code using QFile or whatever to write the files.
@jsulm Sorry for late, thanks for your help
I mean I want to use Images to drawImage on GUI and these images is stored in external storage, not need write to storage at runtime
-
@jsulm Sorry for late, thanks for your help
I mean I want to use Images to drawImage on GUI and these images is stored in external storage, not need write to storage at runtime
@thuongnv284 You can do this - you just need to provide the correct path to the image.