Results 1 to 6 of 6

Thread: Qt quick for beginner

  1. #1
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11

    Default Qt quick for beginner

    Hi,
    I have some experiences in traditional Qt Widgets (C++) and would like to learn Qt Quick. I have some doubts to clarify:

    • Will qt quick be good for desktop app?
    • in which language the logic of the program is written, Javascript or C++?
    • will it use qt model-view architecture just like traditional qt widgets?

    Many thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt quick for beginner

    Quote Originally Posted by navieh View Post
    Will qt quick be good for desktop app?
    It depends on the application. For some it will be useful, for others it will not be.
    in which language the logic of the program is written, Javascript or C++?
    You can use a mix of the two.
    will it use qt model-view architecture just like traditional qt widgets?
    It has its own architecture but it can make use of QAbstractItemModel based models.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    navieh (27th April 2013)

  4. #3
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Qt quick for beginner

    Hi wysota,
    Thank you for your answer.

    Could you elaborate in which case it is useful for desktop app?
    And what is the architecture of a common qt quick app? I find qt apps adapt Qt Model-View architecture, does a qt quick app stick with a particular architecture too?

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt quick for beginner

    Quote Originally Posted by navieh View Post
    Could you elaborate in which case it is useful for desktop app?
    If you're wondering whether it is useful for your particular app then probably it's not

    And seriously, if your app is mostly about processing data and little about presenting it or presentation needs to be very complex then QtQuick probably won't be much of help. If your app is mostly about (simple) user interaction then using QtQuick can reduce time-to-market significantly.

    And what is the architecture of a common qt quick app? I find qt apps adapt Qt Model-View architecture, does a qt quick app stick with a particular architecture too?
    Qt apps can adapt model-view architecture but they don't have to. It's exactly the same with QtQuick apps -- they can follow model-view-delegate architecture but they don't have to if your system is not about handling data. Usually for a complex app you would write the data backend in C++ and expose it to QtQuick where you could implement the frontend with QML.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. The following user says thank you to wysota for this useful post:

    navieh (27th April 2013)

  7. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt quick for beginner

    Quote Originally Posted by wysota View Post
    And seriously, if your app is mostly about processing data and little about presenting it or presentation needs to be very complex then QtQuick probably won't be much of help. If your app is mostly about (simple) user interaction then using QtQuick can reduce time-to-market significantly.
    It is probably more a question of the target device's capabilities.
    If it does not have a GPU with good OpenGL/ES support than QtQuick2 is most likely the wrong choice due to its use of an GL scene graph.

    QtQuick controls have mostly closed the gap to Qt Widgets.

    Cheers,
    _

  8. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt quick for beginner

    Quote Originally Posted by anda_skoa View Post
    QtQuick controls have mostly closed the gap to QtWidgets.
    I wouldn't agree but it's a topic for a separate discussion.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Please help! I'm a beginner
    By ayanda83 in forum Newbie
    Replies: 2
    Last Post: 5th July 2012, 13:41
  2. Absolute beginner in need of help
    By imperator in forum Newbie
    Replies: 8
    Last Post: 24th November 2009, 13:11
  3. Beginner Qt and OpenCV
    By tiho_bg in forum Qt Programming
    Replies: 1
    Last Post: 9th November 2009, 11:39
  4. Help! about Qt for beginner!!
    By Cantora in forum Newbie
    Replies: 9
    Last Post: 2nd April 2009, 00:11
  5. hello, a beginner would like your help
    By tommy in forum Qt Programming
    Replies: 5
    Last Post: 2nd November 2007, 22:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.