Swift in Qt. Is there any manual or how-to?
I am trying to found any manuals and examples of implementing Swift in Qt. Is there any manual or how-to or examples? Could anyone provide link?
I need somehow to call Swift methods in Qt/C++ class.
might of interest.
Thx ... Is it compatible to *.pro file? Will it be built automatically or I need to add something into *.pro file?
Well, most of it is in .cpp / .h files.
However, the bridge part seems to be in the Editor
"Navigate to your project build settings and find the “Swift Compiler – Code Generation” section. "
so im not sure it can just work with only qmake. the Swift compiler must be involved too.
Also, this might only be needed for swift calling c++ code.
( actually, it can only call c code it seems)
@mrjj Thx will try it soon.