Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. 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
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LakshmiSaripella
    wrote on last edited by
    #1

    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.

    Thanks,

    Lakshmi Saripella

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Look into SUBDIRS template for qmake. Combined with Qt Creator, it will allow you to switch between the two with 2 mouse clicks ;)

      (Z(:^

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LakshmiSaripella
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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.

          (Z(:^

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LakshmiSaripella
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              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

              (Z(:^

              1 Reply Last reply
              0
              • L Offline
                L Offline
                LakshmiSaripella
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  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.

                  (Z(:^

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved