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. Web application mobile

Web application mobile

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 3 Posters 2.5k Views
  • 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.
  • M Offline
    M Offline
    mohaskh
    wrote on last edited by
    #1

    Hello everybody,

    I'm french and new in this forum. So, sorry if my english is not very good.

    I want to know if it is possible to create a web application mobile in Qt Quick and QML like a website in which we have a system of users authentication, page routing, a backoffice ...

    Thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Schluchti
      wrote on last edited by
      #2

      I am not 100% sure what you mean.

      Do you want to develop a mobile app that's based on a WebView or do you want to create a website with QML? The latter seems to be possible with QML (but currently not out-of-the box) and the following project https://github.com/qmlweb/qmlweb. However, I am not sure how much of Qt's functionality is covered by qmlweb nor do I know how it performs.

      Want to read more about Qt?

      https://gympulsr.com/blog/qt/

      Latest Article: https://gympulsr.com/blog/qt/2017/06/14/ios-background-music-qt.html

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mohaskh
        wrote on last edited by
        #3

        Hello,

        Thanks for your reply.
        It's not really a website. I want to create an application mobile like Ionic application with a hamburger menu ...
        More precisely, a user registers and logs on the application. Then he could sell a product that can be purchased by others users. The application will work on Android and IOS.

        Thanks

        S 1 Reply Last reply
        0
        • M mohaskh

          Hello,

          Thanks for your reply.
          It's not really a website. I want to create an application mobile like Ionic application with a hamburger menu ...
          More precisely, a user registers and logs on the application. Then he could sell a product that can be purchased by others users. The application will work on Android and IOS.

          Thanks

          S Offline
          S Offline
          Schluchti
          wrote on last edited by
          #4

          @mohaskh You can create android/iOs mobile applications with Qt. In order to get a feeling of what controls are available in Qt, you could install Qt and play a little bit with the following example [1].

          [1] http://doc.qt.io/qt-5/qtquickcontrols2-gallery-example.html

          Want to read more about Qt?

          https://gympulsr.com/blog/qt/

          Latest Article: https://gympulsr.com/blog/qt/2017/06/14/ios-background-music-qt.html

          1 Reply Last reply
          2
          • LorenzL Offline
            LorenzL Offline
            Lorenz
            wrote on last edited by
            #5

            Hi @mohaskh ,

            To sum up, yes, what you want to do is possible with Qt. You can create the front-end with Qt, but you would need different technologies for the server-side part.

            If I understand you correctly, you want to create a mobile application with a backend. The backend would store your user data, authenticate your users, manage your content, etc. You would have to create that backend in a server-side programming language such as PHP. Your backend would somehow expose its data to your app, e.g. via a JSON API.

            Then, your mobile app, which you create with Qt, could communicate with that backend via XMLHttpRequest.

            If you want to have native look & feel for Android and iOS in your app, you could check out V-Play.

            Cheers,
            Lorenz

            Developer @ V-Play Engine - http://v-play.net/qt

            V-Play simplifies

            • Game Development with Qt
            • Mobile App Dev with Qt esp. iOS & Android

            What others say
            V-Play scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

            1 Reply Last reply
            2
            • M Offline
              M Offline
              mohaskh
              wrote on last edited by mohaskh
              #6

              Hello @Schluchti @Lorenz

              Thanks for your reply.
              Just a last question, is it better to create this application in Qt Quick QML or Ionic.
              Knowing that the documentation in Ionic is more important than QML but after doing some research on the net, i understand that the security on Ionic is not really good. And also, i have never yet use QML.

              What are the advantages and disadvantages between them ?
              What do you suggest I do ?

              Thanks

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Schluchti
                wrote on last edited by Schluchti
                #7

                I have never worked with Ionic, but I can imagine that there is no "right" framework for your task. If you ask the question in the Ionic forum, probably everybody will tell you to go with Ionic. If you ask the guys here, they will most probably tell you that Qt outruns Ionic ;-)

                I think in the end it's mostly about personal preference and the time you want to invest to learn a new framework. If you go the Qt way, you should be aware that you can do a lot of stuff with QML, but as your application gets more complex you usually end up at a point where you need to implement stuff in C++ as well. So if you don't know C++ at all, starting with Qt might be a bit too much. In case you are interested, here is my personal experience with Qt: https://gympulsr.com/blog/qt/2017/02/23/working-with-qt-mobile.html

                Want to read more about Qt?

                https://gympulsr.com/blog/qt/

                Latest Article: https://gympulsr.com/blog/qt/2017/06/14/ios-background-music-qt.html

                1 Reply Last reply
                0
                • LorenzL Offline
                  LorenzL Offline
                  Lorenz
                  wrote on last edited by
                  #8

                  Hi,

                  I agree with Schluchti, there is no "right" framework. You should select the one that best fits your needs and skills.

                  If you want to see a comparison of different frameworks, check out http://propertycross.com/! There, you can see one and the same application implemented with different frameworks and compare them. There is a Qt and a Qt + V-Play implementation as well as an Ionic implementation listed on the website. Maybe that's helpful for you.

                  Check out this comparison in lines of code from the property cross project:

                  alt text

                  Disclaimer: I work for V-Play, so of course for me Qt + V-Play is the best solution ;)

                  Developer @ V-Play Engine - http://v-play.net/qt

                  V-Play simplifies

                  • Game Development with Qt
                  • Mobile App Dev with Qt esp. iOS & Android

                  What others say
                  V-Play scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

                  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