Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved] Structuring a QtQuick (plugin) project

    QML and Qt Quick
    1
    1
    429
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • strahlex
      strahlex last edited by

      Hello Qt developers,

      Currently I am developing a QMl plugin that consists of a C++ part and some Qt Quick Items written in QML using that C++ part. So my question is: What is the best way to structure such a project?
      The idea is to create some kind of plugin one could use to create applications using that library and all the QML Items. As far as I understand the C++ part goes into the QML library and the QML files into the imports folder. The first part is covered by the QtQuick tutorial, however, I did not find anything on the second part.

      It would be great to have all the library things C++ and QML in one project. So users could run a simple qmake, make, sudo make install and would be ready to go.

      Can someone please point me to some documentation or example projects to that topic.

      EDIT: The QML Plugin Example: http://qt-project.org/doc/qt-5/qtqml-qmlextensionplugins-example.html
      is exactly what I searched for.

      Regards
      Strahlex

      Feel free to check out my website machinekoder.com
      and my pet projects Intellicute and QtQuickVcp

      1 Reply Last reply Reply Quote 0
      • First post
        Last post