Qt Creator 5.0.2 - In the process of creating UI A) QML+Qt+Cpp & B) HTML5+Qt+Cpp. Is it possible to create both the application in a SINGLE Qt projec
We intend to demo the UI of an application in 2 flavors
A) QML + Qt + CPP
B) HTML5 + Qt +CPP
Is it possible to create both the above flavors in a SINGLE Qt project and configure .pro to display UI-A, UI-B selectively?
Quick reply is appreciated.
Look into SUBDIRS template for qmake. Combined with Qt Creator, it will allow you to switch between the two with 2 mouse clicks ;)
Thanks! It worked. We get to have multiple projects and selectively build and execute the required application.
Btw, I'm unsure whether I can pose this query here or not
We are in look out to create a mobile Qt QML, HTML projects and deploy onto Android mobile. The test devices we have are S4 or Tab2 mobile / tablet. Will you please suggest how to proceed?
If you are using Qt4, you need to use "Necessitas":http://sourceforge.net/p/necessitas/home/necessitas/ project. It is pretty much feature-complete, easy to install and configure.
For Qt5, there is currently a Technology Preview support integrated into recently released Qt5.1.
Thanks for the details. We are using Qt 5.0.2 and could not see info for deployment on mobile devices. We've given a try by downloading 5.1 in a hope to create a mobile project. But could not succeed as no such project template is available.
Will you please furnish some links guiding us on this activity.
You need to download Qt for Android, the links are on the Downloads page.
Some quick links I've found are:
- "deploying to Android":http://qt-project.org/doc/qtcreator-2.7/creator-deploying-android.html
- "Android support in Qt Docs":http://doc-snapshot.qt-project.org/qt5-stable/qtdoc/android-support.html
Thanks a lot for your instant reply. we have downloaded Qt for Android. And for our surprise could see its compatibility for previous versions of Android i.e. 10 or so and not 15,16,17 sdk. Any inputs on this please.
Majority of Android users are still running Android 2.3.x. I'm not entirely up-to-date with Qt on Android, so I can't say much about it. It is based on NDK, though, so Qt should not care too much for the SDK. Run SDK manager and download additional SDKs if you need to.