Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qface generator #74

Open
khoulou opened this issue Mar 22, 2018 · 5 comments
Open

Qface generator #74

khoulou opened this issue Mar 22, 2018 · 5 comments
Milestone

Comments

@khoulou
Copy link

khoulou commented Mar 22, 2018

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

@jryannel
Copy link
Collaborator

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

@khoulou
Copy link
Author

khoulou commented Mar 23, 2018

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

@jryannel
Copy link
Collaborator

jryannel commented May 2, 2018

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.

@jryannel
Copy link
Collaborator

jryannel commented May 2, 2018

The main purpose of qface is to write your own generator. See here for an example: http://qface.readthedocs.io/en/latest/usage.html

@vifactor
Copy link
Contributor

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.

@jryannel jryannel added this to the Cleanup milestone Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants