Results 1 to 4 of 4

Thread: Where can i learn how qml works?

  1. #1
    Join Date
    Jul 2011
    Posts
    22
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Where can i learn how qml works?

    Hello,
    I want to know what happens behind the scene when i wrote

    Qt Code:
    1. Rectangle{
    2. width:40
    3. height:40
    4. color:"blue"
    5.  
    6. }
    To copy to clipboard, switch view to plain text mode 

    Can you advise some where to read, i could not find so far
    thanks

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Where can i learn how qml works?

    First of all: proper capitulization of terms is the very first thing to learn if you want to be a programmer. It is not "qml", but QML, and that is nowadays Qt Quick.

    Another thing is defining things. What is the "scene"? When you write something, nothing much happens. Something may happen during building of your program, something else happens at runtime.

    Perhaps this page helps: http://developer.qt.nokia.com/wiki/Qt_Quick_Tutorial

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    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: Where can i learn how qml works?

    Quote Originally Posted by tuxit View Post
    Hello,
    I want to know what happens behind the scene when i wrote

    Qt Code:
    1. Rectangle{
    2. width:40
    3. height:40
    4. color:"blue"
    5.  
    6. }
    To copy to clipboard, switch view to plain text mode 

    Can you advise some where to read, i could not find so far
    You can look into Qt's source code if you want. In general a subclass of QDeclarativeItem is created and populated with property bindings or values.

    Quote Originally Posted by mvuori View Post
    First of all: proper capitulization of terms is the very first thing to learn if you want to be a programmer. It is not "qml", but QML, and that is nowadays Qt Quick.
    Qt Quick and QML are two different things. The latter is a language (like C++), the former is a framework (like Qt).
    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.


  4. #4
    Join Date
    Jul 2011
    Posts
    22
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Where can i learn how qml works?

    thanks i found out what i need in tutorials of official qt site.

    You can look into Qt's source code if you want. In general a subclass of QDeclarativeItem is created and populated with property bindings or values.
    also this sentence was very useful

Similar Threads

  1. Replies: 3
    Last Post: 6th July 2011, 06:59
  2. want learn c++ with qt
    By mohanakrishnan in forum Newbie
    Replies: 2
    Last Post: 14th October 2009, 08:15
  3. Replies: 1
    Last Post: 27th May 2009, 07:18
  4. How did you learn QT 4 ?
    By pshah.mumbai in forum General Discussion
    Replies: 14
    Last Post: 28th May 2008, 15:30
  5. how did you learn Qt?
    By mismael85 in forum Newbie
    Replies: 3
    Last Post: 5th March 2008, 18:26

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.