qface
qface copied to clipboard
Qface generator
hey, sorry if it seems like a dumb question, but i follewed the steps that u mentioned in order to install and download Qface, and now i want to use it, atleast check the examples, but i cnt find the appropriate tool to do so! ( where is the generator??!) I rly rly rly need ur help! thank u
QFace had in the past some included generators. Nowadays it is just a library to write your generator. You can search for the Pelagicore github account for the generators. They start with QFace-...
Can you point me where you found the instructions?
Thanks
this is the link that I used to install Qface " https://github.com/Pelagicore/qface " I tried to do the example :
// echo.qface
module org.example 1.0;
/**!
The echo interface to call someone
on the other side
*/
interface Echo {
readonly Message lastMessage;
void echo(Message message);
signal callMe();
};
struct Message {
string text;
};
but i wasn't able to find the appropriate IDL to work with, i tried QT creator, but it wasn't the right one, could you please point out which one i should use in order to run a .Qface file.
Thank you
QFace is an IDL library. You need to install one of the tools, e.g. qface-qtcpp (see here for an incomplete list: http://qface.readthedocs.io/en/latest/builtin.html). These tools will then read the qface file and generate the technology specific output. Hope this helps.
Sorry for the late response. Seems I need to update the documentation a bit.
The main purpose of qface is to write your own generator. See here for an example: http://qface.readthedocs.io/en/latest/usage.html
Has the template file qface/templates/qface/qtcpp.j2 been forgotten in qface codebase when concrete generators had been separated from the project? It looks like it should be moved to https://github.com/Pelagicore/qface-qtcpp as very much cpp-specific.