×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    89

    How to write C++ extension with C++ for QML view?

    I just write some files according to this

    I compile it successfully and got 2 files in lib folder

    But I can't use this extension in my qml files.

    I have my file structure on my disk like this,
    1) project.qml, 2)"content" folder
    In "content folder": 1) others.qml 2) plug-in folder

    I've installed the QTSDK only.

    So where the qml will find my the plugin files which is generated in my lib. Or where shall I place them?
    Or, where the qt quick will find the library which contains element info?
    Last edited by useryy2; 2011-05-15 at 07:35.

  2. #2
    Regular Contributor
    Join Date
    Apr 2011
    Posts
    89

    Re: How to write C++ extension with C++ for QML view?

    Work around by using “QDeclarativeView” method as mentioned
    HERE
    and
    HERE

Similar Threads

  1. How to call/load another QML file from QML ?
    By cadlg in forum [Archived] Qt Quick
    Replies: 5
    Last Post: 2011-07-28, 09:15
  2. help me to write extension
    By sujesh84 in forum Python
    Replies: 2
    Last Post: 2008-11-22, 03:48
  3. Replies: 0
    Last Post: 2002-10-29, 07:31
  4. Replies: 0
    Last Post: 2002-10-28, 10:14

Posting Permissions

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