How can I create the package for custom QML controls? These controls
should not be packaged in the source code form to prevent reverse-engineering.
The question implies that the author has QML custom controls implemented with QML technique itself (not C++). Otherwise that would be already QML C++ PlugIn and provided in the form compiled library or some other form of native code (we can just register QML type and provide the necessary import from within executable).
To implement QML PlugIn (with just QML source code) we should create special type of project. It is convenient to organize as nested subdir project to make it work altogether with the rest of the application. Mind that one plug-in project may contain many new QML types.
And to make QML code not visible we can now compile it with Qt Quick compiler available under certain Qt licenses.