×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    QML Basic Queries

    Hi,
    I am very new to Qt and also in QML, even I have doubts with QML and Qt Quick. I got to know that Qt SDK 1.1 Tech Preview has Qt Quick.


    1. Is QML and Qt Quick are same?
    2. How do I make the installation file (like sis file in symbian) for my Nokia Phones using QML projects.
    3. Is there any tutorial for QML?
    4. Does QML is like WRT?
    5. What are the language used in QML projects?


    Please suggest me.

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: QML Basic Queries

    There are quite a few tutorials already available. For starters check http://www.youtube.com/watch?v=vGIVW...eature=related

    Guess it can answer most of your queries

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    6

    Re: QML Basic Queries

    Hi,

    Get the complete documentation here-
    http://doc.qt.nokia.com/4.7-snapshot/qtquick.html

    Best Regards,
    Ashish

  4. #4
    Nokia Developer Champion
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    903

    Re: QML Basic Queries

    Quote Originally Posted by somnathbanik View Post
    Hi,

    1. Is QML and Qt Quick are same?
    2. How do I make the installation file (like sis file in symbian) for my Nokia Phones using QML projects.
    3. Is there any tutorial for QML?
    4. Does QML is like WRT?
    5. What are the language used in QML projects?

    1. Is QML and Qt Quick are same?
    : Please check the Documentation. Below is the link. Qt Quick is module and QML is the Language . We can say like this.
    2. How do I make the installation file (like sis file in symbian) for my Nokia Phones using QML projects.
    : Please read this documentation : http://doc.qt.nokia.com/nokia-qtsdk-...g-symbian.html
    3. Is there any tutorial for QML?
    Find it on below links.
    4. Does QML is like WRT?
    : QML and WRT is different.
    5. What are the language used in QML projects?
    : QML , JavaScript ,sometime Qt C++ too (to use some Qt module like Qt Mobility or in make sis file).


    Tutorial Links:

    Documentation: http://doc.qt.nokia.com/4.7-snapshot/qtquick.html
    Articles/CodeExample: http://wiki.forum.nokia.com/index.php/Category:Qt_Quick
    Video Tutorials:
    http://www.youtube.com/watch?v=1Zgpn...eature=related
    http://www.youtube.com/watch?v=vGIVWfLVZLM
    http://www.youtube.com/watch?v=fakxs...eature=related
    http://www.youtube.com/watch?v=UjjIk...eature=related
    Tutorial: http://doc.qt.nokia.com/4.7-snapshot/tutorials.html
    Last edited by chintandave_er; 2011-02-01 at 09:32.
    Nokia Developer Wiki Moderation team
    World's Greatest Speeches for Windows Phone is now available on WP Marketplace.

  5. #5
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    Re: QML Basic Queries

    Hi,
    I went through some of the article and now can use QML in Qt C++ project
    I used the code in my Qt C++ project to load QML files
    Code:
    QDeclarativeView view;
            view.setSource(QUrl::fromLocalFile("qmltest.qml"));
            view.show();
    and the above code runs fine in desktop but when I try to build for Symbian devices is says QDeclarativeView Undeclared.


    Please suggest me.

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: QML Basic Queries

    I would suggest using the wizard from the Qt Creator for making the base application. It adds quite a lot of usefull stuff there, as well as it will definetely run nicely with simulator as well as symbian devices.

  7. #7
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,349

    Re: QML Basic Queries

    Quote Originally Posted by symbianyucca View Post
    I would suggest using the wizard from the Qt Creator for making the base application. It adds quite a lot of usefull stuff there, as well as it will definetely run nicely with simulator as well as symbian devices.
    You mean this way
    Code:
    QDeclarativeView *qmlView = new QDeclarativeView;
     qmlView->setSource(QUrl::fromLocalFile("myqml.qml"));
    
     QWidget *widget = myExistingWidget();
     QVBoxLayout *layout = new QVBoxLayout(widget);
     layout->addWidget(qmlView);
    or simply widget what we use for Qt project?

Similar Threads

  1. [Qt QML] Questions regarding QML Performance
    By SeanZhang in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-05-05, 13:07
  2. Web TV Basic Queries
    By somnathbanik in forum Web TV (closed)
    Replies: 2
    Last Post: 2011-01-18, 09:08
  3. WRT basic queries
    By somnathbanik in forum Symbian
    Replies: 2
    Last Post: 2010-11-25, 10:35
  4. MeeGo Handset Basic Queries
    By somnathbanik in forum [Archived] Qt SDKs and Tools
    Replies: 8
    Last Post: 2010-10-12, 16:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •