Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User jahlink's Avatar
    Join Date
    Apr 2012
    Posts
    4
    Hi all,

    I am a newbie to qt,using it little before.Now I have a question of importing other files.
    I have created a directory naming core.In this directory,I have a file naming waterpage.qml
    In the mainpage.qml,i have coded the following codes:
    import "core"

    Page{

    waterpage{id:waterpage}

    }

    But when I run the project, Igot the following error:

    Cannot assign to non-existent property "waterpage"
    waterpage{id:waterpage}

    Why this problem happened?

    Thanks for advice.

  2. #2
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    First letter if the element should be in caps. check it is the issue? save waterpage.qml as Waterpage.qml

  3. #3
    Nokia Developer Champion chintandave_er's Avatar
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    781
    I think this is duplicate post by you.. I have given answer on other post in Qt Quick Category.
    Find it on below link

    http://www.developer.nokia.com/Commu...ther-qml-files


    Also my request to you, Please do not post on two category.

    Thanks,
    Chintan.
    Chintan Dave.
    Water Bubble Application for Nokia N9 is now available in Nokia Store.
    World's Greatest Speeches for Windows Phone is now available in WP Marketplace.

  4. #4
    Registered User jahlink's Avatar
    Join Date
    Apr 2012
    Posts
    4
    Thanks to kkrish and chintandave_er,and I will never post on two category.

Similar Threads

  1. how to import files in the emulator?
    By foshanzhuifeng in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2010-11-02, 07:53
  2. cannot import mmp files
    By khalid.usman7@gmail.com in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2010-08-29, 20:24
  3. Import .sys files in carbide
    By jadeluk in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2009-09-26, 15:21
  4. Import files to existing app
    By Scolpy in forum Python
    Replies: 3
    Last Post: 2008-11-08, 23:14
  5. how to import jar files to eclipse sdk??.....plz help!!
    By muskan in forum General Messaging
    Replies: 0
    Last Post: 2007-07-20, 19:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved