Unsolved My first use of Qt 6 based on QML (qt6) book
-
Hi,
I'm trying to create a new project for this first example. So on my Qt Creator 6.0.1 (Based on Qt 6.2.2) I go through these steps:
New Project-> Qt Quick Application -> select a name for the project -> Build System (CMake) -> Minimal Required Qt Version: Qt 6.2 -> Kits (Android Qt 6.2.2 Clang arm64-v8a and Android Qt 6.2.2 Clang armeabi-v7a) -> Next -> Finish.
Have I gone through the way properly? Should I make a change in any of the stages?
-
I'd say it's better to go with desktop Qt in the beginning. Setting up Android can be quite a challenge and is unnecessary just for learning.
-
Thank you, but I need QtQuick now.
What api version for the SDK should I use? What version of ndk and jdk, please?
-
Hi,
What @sierdzio wrote still holds. There's no restriction to use QtQuick only on mobile.
It's going to be easier to just test drive on your desktop machine especially to learn the rope.
-
I didn't understand your answer probably. Did you mean I use QtQuick for Desktop apps? If so, OK, I do and will have in mind as well.
But please answer my questions too!
1- Did I make the project, as stated in the first post, properly?
2- What api I need for my sdk?
3- What version of ndk and jdk are required?I'm now on a Windows machine, by the way.
-
You have the information in the Androïd Getting Started guide in the Qt documentation.
-
Hi @qcoderpro ,
Here you can find a video tutorial, a little outdated but quite complete, on how to setup and use QML for Android:
https://www.youtube.com/watch?v=w2RRgRGHsDAThis one is also very explicit, but it is in Spanish language and does not show all setup steps:
https://www.youtube.com/watch?v=v6SvsTPEe4IBoth allowed me to develop my first android application.
Regards