Results 1 to 2 of 2

Thread: Total n00b - Qml beginner question set

Threaded View

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

    Default Re: Total n00b - Qml beginner question set

    Quote Originally Posted by rajko View Post
    After reading a A Multilayered Architecture for Qt Quick I would like to make multilayer Qt Quick app as the article describes using Qml signals to pass data to c++ backend
    Not a very good approach IMHO.
    I think it is a lot better if the application C++ code does not know anything about QML managed elements.
    Instead of passing a QML created object to C++ and connecting signals that might or might not be there, the C++ code should rather provide slots and functions that the QML created code can invoke.
    That way you can easily restructure or replace the UI with the core knowing or caring.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    rajko (4th October 2013)

Similar Threads

  1. n00b mysql and c++/qt question
    By stingray in forum Newbie
    Replies: 3
    Last Post: 16th September 2013, 21:28
  2. Beginner layout question
    By frankiefrank in forum Qwt
    Replies: 1
    Last Post: 10th March 2011, 17:37
  3. SQLite beginner question...
    By theMac in forum Newbie
    Replies: 3
    Last Post: 2nd September 2009, 00:01
  4. Replies: 2
    Last Post: 31st July 2009, 20:30
  5. Beginner C++ question
    By masoroso in forum General Programming
    Replies: 2
    Last Post: 19th April 2006, 14:15

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
  •  
Qt is a trademark of The Qt Company.